Forums / Setup & design / Can not override node 2, root full view mode.
Tore Skobba
Monday 09 February 2004 4:20:52 am
I am trying to override node 2 full view mode. However, I always get:
No template could be loaded for "node/view/full.tpl" using resource "design"
My override.site.ini [full_folder_node_2] Source=node/view/full.tpl MatchFile=node/view/full_folder_node_2.tpl Subdir=templatesMatch[node]=2
And I DO have a template called full_folder_node_2.tpl in my correct design folder. However, EZ seems to be totally unable to find it.. Which I find strange since all the other templates overrides are function 100%. Anyone here who have had any similar problems?
Tore
Balazs Halasy
Monday 09 February 2004 6:44:33 am
You would have to have /design/your_design/override/templates/node/view/full_folder_node_2.tpl for this to work. Are you sure that the file is in the correct folder? Cleared the caches? What does the debug tell you?
Balazs
Ole Morten Halvorsen
Monday 09 February 2004 7:03:33 am
eZ publish uses the first match it finds in override.ini, so make sure your node overrides is at the top of the file.
-Ole
Senior Software Engineer - Vision with Technology http://www.visionwt.com http://www.omh.cc http://www.twitter.com/omh eZ Certified Developer http://ez.no/certification/verify/358441 http://ez.no/certification/verify/272578
Monday 09 February 2004 7:49:46 am
Thanks, I moved the override to the start of the file, it works now. Strange, becasue I was sure that I had tried that before. I probably missed the first override.
CheersTore