Override.ini question

Author Message

Philip K.

Wednesday 15 August 2007 12:51:39 am

Hi.

I want to create an override file which is used by several nodes. Is there a way to create an entry in override.ini.append.php like this?


[full_xxx]
Source=node/view/full.tpl
MatchFile=full/xxx.tpl
Subdir=templates
Match[class_identifier]=xxx
Match[section]=7
Match[node]=node id
Match[node]=one more node id
Match[node]=one more node id
Match[node]=one more node id

Thanks for your help,
Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Bruce Morrison

Wednesday 15 August 2007 2:04:26 am

Hi Phillip

Nope. You'll have to do an entry for each node unless you can group the nodes by section or some other method.

BTW you can drop the Match[class_identifier]=xxx & Match[section]=7 lines as you can't get any more unique than [node].

[full_xxx]
Source=node/view/full.tpl
MatchFile=full/xxx.tpl
Subdir=templates
Match[node]=node id

[full_yyy]
Source=node/view/full.tpl
MatchFile=full/xxx.tpl
Subdir=templates
Match[node]=other node id

...

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Philip K.

Wednesday 15 August 2007 5:09:42 am

Hi Bruce.

Yes, I think the best way is to set up some new sections for these nodes.
Thanks for your help.

Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

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