Forums / Developer / In what order are override templates loaded?
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
Saturday 25 February 2006 8:52:17 am
Software should be modular no?
Maybe it depends on the order the extensions themselves get loaded....