Forums / Setup & design / Assigning templates to a page.
Arno Jenkins
Monday 15 May 2006 1:37:35 pm
What would I need to do if I wanted to have two different templates, one for the main (home) page, and another for the rest on the site? I’m new to ez Publishing system and need a little help here. Thanks.
BTW, I’m using 3.8
Alexandre Cunha
Monday 15 May 2006 7:11:27 pm
Welcome
How to:
- copy your design/<your_site_design>/override/templates/pagelayout.tpl file to design/<your_site_design>/override/templates/node/home_page.tpl
- edit design/<your_site_design>/override/templates/node/home_page.tpl and change it to the design you want
- edit settings/siteaccess/<your_site_setting>/override.ini.append.phpand add this after <?php /* #?ini charset="utf-8"?
[full_node_home_page] Source=node/view/full.tpl MatchFile=node/home_page.tpl Subdir=templates Match[node]=2
thats it
http://AlexandreCunha.com
Wednesday 17 May 2006 2:12:35 pm
Thanks for the help. When I do this the header and all the menus are still there, just the body changes. Did I miss something?