Custom line template

Author Message

Lance Leger

Monday 30 August 2004 8:20:58 am

I've created a custom line template for my event class. I would like for the custom line template to be displayed when the "Show Children" box is checked on a folder. This works with several default line templates for existing classes. How can I achieve this result?

Hans Melis

Monday 30 August 2004 9:10:45 am

Hi Lance,

That should be default behaviour, unless you've made your own overrides for node/view/full.tpl for the Folder class. The "base" override for the folder class only fetches children when that checbox is checked.

If you've made your own override, take a look at the file /design/base/override/templates/full/folder.tpl to see how you can achieve the same thing.

Hans
http://blog.hansmelis.be

Thomas Johannessen

Thursday 04 November 2004 7:07:44 am

I cant make my templates override to work;
a folder view for a spesific node:

[full_folder_person]
Source=folder.tpl
MatchFile=folder_person.tpl
Subdir=templates
Match[class_identifier]=folder
Match[node]=70

any who knows why??

please


www.taon.no

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