Match multiple nodes with override

Author Message

Ulrich L.

Wednesday 25 April 2007 12:55:14 am

Hi,
I would like to match multiple nodes with one override template, like this

[ABC_folder_full]
Source=node/view/full.tpl
MatchFile=ABC_folder_full.tpl
Subdir=templates
Match[node]=69
Match[node]=79

However, this doesn't work. Only one node is overridden.
Is there a way to do something like this?
The target is to override just those two nodes with one and the same template.

Thanks for any help in advance.

Nabil Alimi

Wednesday 25 April 2007 1:23:40 am

Hi Ulrich,

I'm afraid this is not possible. You need to duplicate your override entry for every node you need.
But you might find suitable override rules that works for your case here : http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_override_conditions.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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