Author
|
Message
|
Sirvash Sharma
|
Tuesday 25 April 2006 2:13:25 am
Hi
I am trying to override template for node id - 130.
and using this code but bydefault it is using the folder.tpl
settings/siteaccess/news/override.ini.append.php
[top_news]
Source=node/view/full.tpl
MatchFile=/full/top_news.tpl
Subdir=templates
Match[class_identifier]=folder Match[node]=130
Please suggest me about this problem. Thanks
|
Kristof Coomans
|
Tuesday 25 April 2006 2:17:07 am
Hi Sirvash Did you clear the INI and template override caches after adding the override?
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
|
Sirvash Sharma
|
Tuesday 25 April 2006 5:54:34 am
Hi very thax to suggest me regarding this problem. after adding the override template i clear the plain cache (var/plain/cache) then apply. I am not getting the mean of INI cache please explain it. Thanks
|
Sebastiaan van der Vliet
|
Thursday 27 April 2006 8:01:33 am
Hi Sirvash,
If you need the override for node id 130, you do not need the additional match rule for folder. Try moving your override rule all the way to the top of your override.ini.append.php file, or at least above the match rule for the folder template: the order in the override list matters.
Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.
|
Sirvash Sharma
|
Friday 28 April 2006 2:00:22 am
Hi Sebastiaan, Thanks I have apply these things also but no changes there. i have wrote the code top order like below.
[top_news]
Source=node/view/full.tpl
MatchFile=full/news.tpl
Subdir=templates Match[node]=130
Please suggest me if any requrement of code modification. Thanks
|
Sebastiaan van der Vliet
|
Friday 28 April 2006 7:06:23 am
Hi Sirvash, Could you check the following:
1. The location of your override template, e.g. design/<name of your site design>/override/templates/full/top_news.tpl.
2. Settings file:
[DesignSettings]
SiteDesign=<name of your site design>
AdditionalSiteDesignList[]=base etc...
Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.
|
Sirvash Sharma
|
Tuesday 02 May 2006 12:45:43 am
Hi Sebastiaan, I have checked the all settings and also path of top_news.tpl. these settings are same as well as suggest me but there is no changes same problem arrise once.
1. design/news/override/templates/full/top_news.tpl.
2.Settings
[DesignSettings]
SiteDesign=news AdditionalSiteDesignList[]=base
Please suggest me if any changes require. Thanx
|
Sirvash Sharma
|
Monday 08 May 2006 10:57:33 pm
Hi! Sebastiaan, override templates working.
Thanks for suggestion. Sirvash Sharma
|