line_class, full_class, full_node

Author Message

StoneFly Techonology

Wednesday 14 May 2003 4:23:04 pm

In the demo, there is a directory "design/demo/override/tempates/mode/view/"
and it houses files like

"line_class_22.tpl" and "full_class_24.tpl" and "full_node_32.tpl"

What is the naming convention used or what is the file heirarchy of files like the ones above?
For example: running ez Publish without demo data puts files like "full.tpl" and "line.tpl" in the "design/mydesign/override/tempates/mode/view/" directory, but I'm not sure when it is appropriate/needed to make files in that directory like the ones in the demo like "full_node_32.tpl" (which comes with the demo).

suggestion: someone should have comments at the top of each file that explains what it does

Thanks

Karsten Jennissen

Wednesday 14 May 2003 10:12:22 pm

Hi,

try reading up here:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/custom_designs_directory_structure_explained

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/view_modes_of_objects

full refers to the view mode, node / class refers to the item type in the ez publish hierarchy and the number is the number of the item. full_node_... override full.tpl.

Karsten

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