Forums / Developer / Search box problem...

Search box problem...

Author Message

Srinivas Rao

Sunday 26 October 2003 11:36:23 pm

Hi All,

I planed to create a site using eZ-3. For that I created one siteaccess like Admin. And in design folder also I created my own page layout. In that I copied search box code from admin side pagelayout. But Its not working in some browsers. Its displaying blank search result. In url path its displaying
http://myhostname/ezpublish-3.1-1/index.php/techweb/content/action

Any one help me regarding this...

Thanx in Advance.

--Srinivasa Rao

 

Alex Jones

Monday 27 October 2003 6:50:28 am

Could you post the code you pasted to display the search box?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Srinivas Rao

Tuesday 28 October 2003 3:29:25 am

Hi,

In my own page layout I called the search button like this...

<form name="form1" method="post" action="">
<table border="0" cellpadding="0" cellspacing="0" class="RightText" id="right links">
<tr>
<form action={"/content/search/"|ezurl} method="get" style="margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" class="searchTable">
<tr>
<td width="62%"><input class="SearchBox" type="text" name="SearchText" id="Search" value="" /></td>
<td align="left"><input class="Go" name="SearchButton" type="submit" value="{'Go'|i18n('design/standard/layout')}" />
</td>
</tr>
</table></form>

In Some browsers the search result is displaying blank page. and In location bar its displaying like this...
http://myhostname/ezpublish-3.1-1/index.php/techweb/content/action

Any one help me.

Thanx in Advance.

--Srinivas.