How does work the search system ?

How does work the search system ?

Tuesday 02 December 2008 7:07:28 am - 3 replies

Author Message

Gaetano Giunta

Tuesday 02 December 2008 7:20:48 am

There is an ini setting that drives the value of $use_template_search.

When false, the php code of the view executes the search, and the template only displays results.
Otherwise, it is up to the template to do everything.
This has the benefit of allowing extra parameters to be added to searches (eg. for drill-down searches, facets) handling them completely in template code.

Principal Consultant International Business
Member of the Community Project Board

Pascal France

Tuesday 02 December 2008 8:20:06 am

Thanks a lot Gaetano,

The setting is «SearchViewHandling» in site.ini and has to be set to «template»

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Emmanuel Courmont

Sunday 22 March 2009 2:40:53 pm

Hi guys,

Look at this post to get more info about the setting to change.

http://ez.no/developer/forum/developer/probleme_with_the_search#msg112135

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.