Forums / Setup & design / I'm very confused in template settings

I'm very confused in template settings

Author Message

Paolo Tramontani

Monday 08 September 2003 1:36:10 am

Hi,
I can create my own template but I can't find the correct procedure to make eZpublish to use it: every time I open my site I found the default template...

NB: I'm using 3.2 beta 1 under Win2k

I followed the tutorial of Rob Purser, I created the design called "mydesign", I created the folder override/templates, I used the admin/setup to duplicate the pagelayout template and the line and full template for articles. Then I modified the overriden templates.
Results: pagelayout and line article works, full article don't work.

Then I followed the sdk tutorial in order to create my own class and a template for it. I create the "book" class and the template procedure appears to be very different with regard to the one shown by Rob Purser: I have to create folder "node\view" and I have to name template files "line_class_14.tpl" where 14 is the ID of my new class. And I have nothing to do with the admin section of eZpublish.
Anyway nothing works: ez shows default templates...

Which can I found the right procedure to create new templates for "lines" or "full" of a custom class? How can find a doc of how the admin template section works?

Thanks,

Paolo

Bjørn Kaarstein

Monday 08 September 2003 2:47:31 am

You could take a look here:

http://ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template

The naming convention for override templates was changed in version 3.1

Regards Bjørn