Wednesday 09 June 2010 9:11:20 am
I'm trying to create a custom template. I've read the following pages: http://ez.no/doc/ez_publish/technical_manual/4_x/templates/template_basics/node_templates http://ez.no/doc/ez_publish/technical_manual/4_x/templates/the_template_override_system But still can't figure out how my new template / class can be associated to the template file.
I've created a class called Page Article (page_article).
I've created a file called page_article.tpl and placed this in override/templates/full/. I've created a override.ini.append.php and placed this in extension/ezwebin/settings/
In override.ini.append.php I've put the following:
[page_article]
Source=node/view/full.tpl
MatchFile=page_article.tpl
Subdir=override/templates/full
Match[section]=1 Match[class]=2 What am I doing wrong? I'm a big fan of examples. That helps a lot :)
|