Forums / General / simple search doesn't work

simple search doesn't work

Author Message

gregor de Lijzer

Thursday 07 April 2005 2:27:44 pm

Experimenting with ezPublish i tried the search functionality with a simple example.
just put the search html text in pagelayout.tpl

...
</HEAD>
<BODY>
<form action={"/content/search/"|ezurl} method="get">
<input type="text" size="8" name="SearchText" id="Search" value="" />
<input name="SearchButton" type="submit" value="Search" />
</form>
</BODY>
</HTML>

created an object with a searchable attribute called my site enterd the search string and the result? the same html site as before. no results just the same screen as before the search.
i created the pagelayout file in mysite/design/.
logged in as admin finding objects is successful.

Using ezPublish 3.5.

thanx greg

Ɓukasz Serwatka

Monday 11 April 2005 7:09:03 am

Hi,

You can read document about custom search boxes here
http://ez.no/ez_publish/documentation/customization/components/search/custom_search_box

I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog