You can achieve this by modifying the following core file.
-
admin/view/template/design/layout_form.tpl
add your new position in this select tag
<select name="layout_module[<?php echo $module_row; ?>][position]"
and also in this method at the bottom of the file
function addModule() {
And then you have to add a template and a controller in catalog/view/theme/default/template/common
you can use the same code as it is in content_top.php & content_top.tpl, just rename the file as your new position name.
-
And then in Home controller or any other page where this position is required, you have to add
$data['new_position'] = $this->load->controller('common/new_position');
-
After adding it to controller, you need to add it to the template files. Add to all the page templates you want to show the custom position on.
<?php echo $new_position; ?>
For example, to show the position on the home page, you'll add <?php echo $new_position; ?>
to catalog/view/theme/YOUR_THEME/template/common/home.tpl