
Originally Posted by
afo
I don't know where you got this notion from. There is no /privacy folder in Zen Cart. It won't know to look in there to find the tpl_main_page.php. What exactly are you trying to do?
I thought I was clear in my asking
.
Ok lets try this again. To edit a specific page's layout you would create a new folder using the page's name inside your template folder for my example I will use page About Us example
/includes/templates/MY_TEMPLATE/about_us
Now inside this folder you would place a copy of the tpl_main_page.php and then edit this to avoid messing up any other layout on any other pages. Thus making use of the "Override system"
/includes/templates/MY_TEMPLATE/about_us/tpl_main_page.php
Ok now I just want to know what the pagename of the home page is so I can edit the layout of the home page without messing us the rest of the pages, because the tpl_main_page.php in the common folder only defines the site-wide "default" layout of your site template
Does this make it a bit more clear?
Regards,
Johan
P.S.
If you look in the tpl_main_page.php right at the top it has this
Code:
<?php
/**
* Common Template - tpl_main_page.php
*
* Governs the overall layout of an entire page<br />
* Normally consisting of a header, left side column. center column. right side column and footer<br />
* For customizing, this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* - make a directory /templates/my_template/privacy<br />
* - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br />
* <br />
...