Override advancedsearch.tpl

Override advancedsearch.tpl

Tuesday 06 October 2009 9:34:09 am - 4 replies

Author Message

Gaetano Giunta

Tuesday 06 October 2009 9:41:42 am

If you have a 'main design' of your site, just copy the template in design/yourdesign/templates/content/advancedsearch.tpl, remove the comment at the top and start tweaking it.

The design fallback chain principle will make sure that the template in your design is used instead of the one from the ezfind extension in the standard design.

Using an override template (and altering override.ini) is only needed when your new template needs to be used under some particular conditions and not on some other, which does not seem to be your case.

Principal Consultant International Business
Member of the Community Project Board

Carlos Revillo

Tuesday 06 October 2009 9:41:46 am

you can place it at

/design/[yourdesign]/templates/content/advancedsearch.tpl

or, if you prefer doig it with an extension, then it should be

/extension/[yourextension]/design/[yourdesign]/templates/content/advancedsearch.tpl

And no. you don't need to add anything in your override.

Check http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics/designs/design_combinations for further information.

Carlos Revillo

Tuesday 06 October 2009 9:42:19 am

ups. sorry. i didn't see the reply from Gaetano.

jul tonfa

Wednesday 07 October 2009 2:51:22 am

Hi guys,

Thank you very much for your help. It works perfectly now !

You must be logged in to post messages in this topic!

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