[solved] parameters in URL with search module

Author Message

Antoine Schmid

Monday 30 January 2006 8:15:02 am

Hi there,

I'd like to add a parameter in a URL to split between two ways of having my search results displayed. ex:.../search?SearchPageLimit=1&mode=1&SearchText=search

Does anyone know how I can retrieve the 'mode=1' within a override of the search template ?

There is perhaps a better way of doing it, but I can't think of any for now. The problem with the search module is that we can't use the commun way of passing a parameter (by adding .../(mode)/1 at the end of the URL) because it enters in the search field.
And I can't have some limitations in the override.ini.append.php file because the search module isn't linked with the content of my site.

Thanks for your answer

Antoine

Thomas Nunninger

Monday 30 January 2006 8:40:42 am

Hi,

have a look at ezhttp (http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/data_and_information_extraction/ezhttp)

Have a nice day

Thomas

Antoine Schmid

Tuesday 31 January 2006 12:15:54 am

Well, it works...

Thank you ! I've lost enough time with this little stuff...

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