Advanced search and selection datatype

Advanced search and selection datatype

Tuesday 12 July 2005 7:49:26 am - 2 replies

Author Message

Mikael Johansson

Tuesday 12 July 2005 8:04:16 am

Set the following parameters to search for objects where attribute 266 in class 3 is "two".
SearchText=two
PhraseSearchText=
SearchContentClassID=3
SearchContentClassAttributeID=266
SelectClass=Update+attributes
SearchSectionID=-1
SearchDate=-1

This will list all objects that has made the selection "two" (my selection has two options, "one" or "two").

Mikael Johansson, Sweden

laurent le cadet

Tuesday 12 July 2005 9:09:24 am

Hi,

Thanks for the settings.

I tried also another "quick and dirty" way ;) :

<select name="SearchContentClassAttributeID">
<option value="256">Nom</option>
<option value="263">Promotion</option>
<option value="277">Ville</option>
<option value="278">Pays</option>
<option value="284">Secteur d'activité</option>
</select>
<br>
<br>

<label>Sélectionner un secteur d'activité</label><div class="labelbreak"></div>
<select name="PhraseSearchText" value="">
<option value="" >Secteurs d'activité</option>
<option value="Direction générale" >Direction générale</option>
<option value="....Direction d'entreprise" >....Direction d'entreprise</option>
<option value="....Adjoint conseil, conseil de direction" >....Adjoint conseil, conseil de direction</option>
<option value="Production" >Production</option>
....
</select>

The user has to select first :

<option value="284">Secteur d'activité</option> (means activity)

And then chose an activity in the other <select>

To make it nicer, I have to render a dynamic select.

Laurent

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.