Alex Jones
|
Thursday 08 April 2004 6:05:41 am
Andreas, you can use the code below for your search box. I grabbed it from /design/standard/templates/page_topbox.tpl which is included in every eZ publish installation.
<form action={"/content/search/"|ezurl} method="get">
<table class="layout" width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td class="topline" width="40%">
<img src={$top_logo|ezimage} alt="" />
</td>
<td class="topbox" align="right" width="50%" valign="bottom">
<br />
<input class="halfbox" type="text" size="20" name="SearchText" id="Search" value="" /><br />
<a class="topline" href={"/content/advancedsearch/"|ezurl}><span class="small">{"Advanced search"|i18n("design/standard/layout")}</span></a><div class="labelbreak"></div>
</td>
<td class="topbox" valign="top" width="10%">
<br />
<input class="button" name="SearchButton" type="submit" value="{'Search'|i18n('design/standard/layout')}" />
</td>
</tr>
</table>
</form>
<b>Mail Form</b> Check the permissions for the <i>Anonymous</i> user (under Users > Roles > Anonymous) to ensure they have the proper rights to use the form module. Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|
Andreas Widerøe Andersen
|
Thursday 08 April 2004 7:30:28 am
Already did that. It now says:
Role policies
Module Function Limitation
user login *
content read Class( Folder , Info page , Info page , Link , Link , File , File , Comment , Comment , Article , Article , Image , Image , Forum , Forum , Forum message , Forum message , Product , Product , Product review , Product review )
content read Class( Ressurser )
form * *
I've also set this:
[FormProcessSettings] Module=enabled in the site.ini.append file for my layout. Any other suggestions? Btw. I got the search function working - thanks! Andreas
|
Alex Jones
|
Thursday 08 April 2004 11:42:43 am
It's good to hear you have it working! After changing any major setting, it is good to clear all of the caches, which can cause problems with changes not showing up. Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|