Template override/sub-override

Author Message

Carl Heaton

Wednesday 09 March 2005 1:13:13 am

I have the following override for paths such as `http://www.domain.com/topics/topic_parent/topic_name`:

[topic_top]
Source=node/view/full.tpl
MatchFile=content/topic/topic_layout.tpl
Match[class_identifier]=topic_top
Subdir=templates

I'd like to have another override for `http://www.domain.com/topics/topic_parent/topic_name/all`. Would I need to create some sort of class/node for `all` or can this be done using `Match[depth]`?

Any pointers are appreciated.

Cheers,
Carl

---
Carl
{'EZP 3.5, Apache 2, FC2, PHP 4.3.4 (cgi), MySQL 4.1.9'}

Ɓukasz Serwatka

Wednesday 09 March 2005 2:27:59 am

Hi Carl,

Would I need to create some sort of class/node for `all` or can this be done using `Match[depth]`?

You can use class if "all" is the same class what "topic_name" for example. You can also use, node or url_alias which match the URL alias of a node.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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