In what order are override templates loaded?

Author Message

Gabriel Ambuehl

Saturday 25 February 2006 7:20:36 am

I have the following situation:

extension1 defines a new node/view/rss.tpl template that outputs RSS for a given node.

Now I'd like to override this for a given class in extension2. While I can put all overrides into override.ini in that extension, it won't work with that particular override for some reason. If I put the VERY same override code into siteaccess it ezpublish happily loads the correct template though (which still lives under extension2!).

Is there even a way to do what I want (i.e. overriding a node view defined by one extension in another extension)?

Visit http://triligon.org

Xavier Dutoit

Saturday 25 February 2006 8:32:47 am

Not to my knowledge.

Try not creating too many extensions ? ;)

http://www.sydesy.com

Gabriel Ambuehl

Saturday 25 February 2006 8:52:17 am

Software should be modular no?

Maybe it depends on the order the extensions themselves get loaded....

Visit http://triligon.org

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