Monday 08 January 2007 2:07:21 am
Hi, I'm looking for a solution to display only some classes in the first dropdown of the advancedsearch.tpl. Actually the select is build like this :
<select name="SearchContentClassID">
<option value="-1">{"Any class"|i18n("design/standard/content/search")}</option>
{section name=ContentClass loop=$content_class_array }
<option {switch name=sw match=$search_contentclass_id}
{case match=$ContentClass:item.id}
selected="selected"
{/case}
{case}
{/case}
{/switch} value="{$ContentClass:item.id}">{$ContentClass:item.name|wash}</option>
{/section}
</select>
So I would like to custom the $content_class_array in order to manually specifiy the classes. Thanks in advance !
eZ Publish Freelance
web : http://www.webaxis.fr
|