Forums / Setup & design / Sommervacation already?
Zinistry Vacana
Wednesday 18 June 2003 1:17:37 am
Lame activity in this forum..it's not eZ to get a reply nowadays ;)
laurent le cadet
Wednesday 18 June 2003 3:01:15 am
Hey, your not alone ! A question : could you tell me how to link a section to the good page layout. I tryied pagelayout_mynewsection_10.tpl but it don't work. (section already create in the admin site). In the demo>override>templates there is templates without ID number e.g. my_company.tpl.How it works ? I can't find anything about this.
Bjørn Kaarstein
Wednesday 18 June 2003 4:23:06 am
You have to name your file "pagelayout_section_10.tpl", and put it in design\yourdesign\override\templates
Then you have to assign the wanted areas to section 10 in the admin interface.
To use regular templates, you have to include them, like this:
{include uri="design:yourtemplate.tpl"}
Regards Bjørn.
Paul Borgermans
Wednesday 18 June 2003 4:26:32 am
Well, It appears that you are running 3.1beta...
The override system has changed: see
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/the_new_template_override_system_from_31_onwards
For some initial "documentation".
--paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Wednesday 18 June 2003 5:21:06 am
Great !thank U VERY much...
Sven Ryen
Wednesday 18 June 2003 6:03:02 am
Hi Paul!
Would you care to comment:
You have written some "documentation" for the new template override system. Will this system replace the current one, so that all overrides will have to be redone once my clients decide they want to upgrade to 3.1?
Bård Farstad
Wednesday 18 June 2003 6:36:28 am
Sven: yes, you will need to upgrade your template setup for 3.1. However you only need to create a configuration file. There is a script ( update/common/scripts/generateoverridesettings.php ) which does this for you. It should only be a matter of mintes to get a 3.0 site run with this new system.
However I would recommend that you use the new features of the override system so you can have nicer names for the override files ( article.tpl, folder.tpl, article_frontpage.tpl etc.. ) This will make maintainance simpler.
--bård
Documentation: http://ez.no/doc