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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:09:39
Script start
Timing: Jan 18 2025 19:09:39
Module start 'layout'
Timing: Jan 18 2025 19:09:39
Module start 'content'
Timing: Jan 18 2025 19:09:39
Module end 'content'
Timing: Jan 18 2025 19:09:39
Script end

Main resources:

Total runtime0.7926 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.1484152.6406
Module start 'layout' 0.00650.0026 741.789139.4766
Module start 'content' 0.00910.7823 781.2656461.2188
Module end 'content' 0.79130.0012 1,242.48448.1406
Script end 0.7926  1,250.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4383160.0002
Check MTime0.00140.1745160.0001
Mysql Total
Database connection0.00130.161410.0013
Mysqli_queries0.751394.7854540.0139
Looping result0.00050.0686520.0000
Template Total0.767696.820.3838
Template load0.00210.266620.0011
Template processing0.765596.580720.3828
Template load and register function0.00020.023110.0002
states
state_id_array0.00070.084110.0007
state_identifier_array0.00060.073820.0003
Override
Cache load0.00180.2283180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.112720.0004
Fetch class attribute name0.00100.120920.0005
XML
Image XML parsing0.00020.027320.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00050.0624100.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs