This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » show always full.tpl ...

show always full.tpl ...

show always full.tpl ...

Friday 16 May 2003 11:25:09 am - 7 replies

i'm new to ezpublish. now i have a problem with templates.
my pagelayout.tpl shows always the full.tpl (from the standard design) and also line_class_2.tpl.
line_class_2.tpl is ok but not full.tpl.
please help me. i can't figure it out.


Modified on Friday 16 May 2003 11:30:42 am by mario feichtinger

Friday 16 May 2003 12:00:45 pm

When you are accessing an url like /content/view/full/2 eZ publish will use the template full.tpl (in templates/node/view/ in your design directory). This is decided by the third item in your url. If you wish to use a different template you can either modify this file or create a new one and change the url's accessing the different parts of your site.

In addition, you can create override templates to have templates only for spesific classes, nodes, sections and so on. These are located in your override/templates/.... in your design directory. Look at this thread: for more information about override templates and so on.

Friday 16 May 2003 12:58:56 pm

i have already made the templates for my classes in design/mydesign/override/templates/node/view/.
for a list i have line_class_2.tpl, for my news class i have full_class_2.tpl.
but pagelayout show above full.tpl (from the standard design) and under full.tpl my line_class_2.tpl. and this on one page.

### pagelayout.tpl ###
content of pagelayout

### standard full.tpl ###



Aktuelles der spö

Name Class Section
### spoe line_class_2.tpl ###

2003.05.15 aktuelles zum erstenasdf lasdflö klöasdf klöasdfkl löjsdaföjlasdfjlk dsfa asdf
...weiter Aktuelles 1
### spoe line_class_2.tpl ###

2003.05.16 Aktuelles zum zweitenasdf asfd sadf sdaf dasf sadf sdaf sdfa sdaf
...weiter Aktuelles 1

Modified on Friday 16 May 2003 1:07:32 pm by mario feichtinger

Friday 16 May 2003 1:38:14 pm

Did you disable cache or clear cache?

Friday 16 May 2003 1:49:12 pm


if i create an full.tpl in my directory design/mydesign/templates/node/view/ the pagelayout.tpl show only my full.tpl. it seems my line_class_2.tpl don't override my full.tpl.

Modified on Friday 16 May 2003 1:59:11 pm by mario feichtinger

Saturday 17 May 2003 5:01:20 pm

line_class_2.tpl will never override full.tpl line_class_2.tpl will only override line.tpl if line is requested with /content/view/line/ID
line is made to be included in lists with the node_view_gui function. For more information about node_view_gui check

Monday 19 May 2003 9:24:03 am

thank you for the info.
my class "aktuelles" has the id 2.
the objects of "aktuelles" are in the folder with object id 16.
now i have the template line_class_2.tpl for the list
and the full_class_2.tpl for the full view of the articels.
if i type in the browser http://ez/index.php/mydesign/content/view/line/16 it shows me the line.tpl.
if i type http://ez/index.php/mydesign/content/view/full/16 it shows me the full.tpl - which it is ok.
in the demo http://ez/index.php/demo/content/view/full/26 it shows however the line_class_2.tpl.
why not the full.tpl?
i hope i'm not too silly for ezpublish

Monday 19 May 2003 9:54:42 am

i believe i have it.
i have forgotten the template for the class 1 (folders) in which stores the articels.
... i hope so ...


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from