Friday 25 May 2012 8:33:47 pm - 2 replies
Hi to everyone!I'm new in eZ Publish, so this question may be simple for some people. I'm developing a web site with my custom HTML/CSS template. For this I've used Plain Site and I've created an extension with the desing inside it. My question is: How can I override the standard/content/searchresult.tpl? I mean, how many files should I create to do this? Where sould I place them? Wich settings files I have to config?Thanks in advance!
Sunday 27 May 2012 6:27:58 am
Hi Joao,
Overriding templates is a 2-step process:
[search_result] Source=content/searchresult.tpl MatchFile=search/result.tpl Subdir=templates
This will override all requests for the original template, and point them to your new template.
Check out The template override system & example in the online documentation, and check out the Template override conditions for conditional overriding.
Cheers,
Geoff
Modified on Sunday 27 May 2012 6:29:43 am by Geoff Bentley
You must be logged in to post messages in this topic!