Need help to custom the advanced search template

Need help to custom the advanced search template

Monday 08 January 2007 2:07:21 am - 2 replies

Author Message

Stephane Cottin

Tuesday 13 January 2009 8:26:07 am

no reply / solution ?

Christophe Condomines

Wednesday 14 January 2009 1:04:30 am

You may define your own arrays of "content class id" and "content class name" in the template and loop on it. Or better, define the array in an .ini file

Something like:

{def $myCCID=hash(1=>'Folder',2=>'Article')}

{foreach $myCCID as  $id => $name}
  <option value="{$id}">{$name|wash}</option>
{/foreach}

Microblau SL
http://www.microblau.net

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.