Share » Forums » Setup & design » Limit search to one class

Limit search to one class

Limit search to one class

Tuesday 17 March 2009 2:11:19 pm - 4 replies

Author Message

Jan Komárek

Tuesday 17 March 2009 5:48:05 pm

I think this is posible only in advanced search. But its still part of eZP 4.0 no plugins...

Zion Tech

Tuesday 17 March 2009 11:01:16 pm

Hey Mike,

Take a look at: http://ez.no/ezpublish/documentation/customization/components/search/custom_search_box

You can use:

<form action={"/content/advancedsearch/"|ezurl} method="get">

<input class="searchbox" type="text" size="8" name="SearchText" id="Search" value="" />

<input class="searchbutton" name="SearchButton" type="submit" value="Search" />

<input type="hidden" name="SearchContentClassID" value="14" />

</form>

Jean-Yves Zinsou

Wednesday 18 March 2009 12:24:05 am

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Michael Fürst

Wednesday 18 March 2009 1:32:33 pm

Thanks a lot for the good ideas - it works now (with advanced search)

Regards,
Mike

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

36 542 Users on board!

Forums menu