Forums / Setup & design / For setting of the "advanced search" button

For setting of the "advanced search" button

Author Message

nga patel

Monday 25 April 2005 10:21:04 am

In my side in advenced search, I waant to reset my all main menu items in one dropdown box and in all sub menu items are in the other dropdown box, now when any one select the main item from first dropdown box according to that in second dropdown box, the submenu items should be appear, but I could not do this thing.
Under these dropdown boxes I had put the button called "OK" is not working after selecting the items.
Could any body give me any hint.
Thanks

Łukasz Serwatka

Monday 25 April 2005 11:32:27 pm

Hi,

Do you have any code example to show?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

nga patel

Tuesday 26 April 2005 12:59:30 am

<form name="fullview" method="post" action="/content/action">

<div class="block">

<select name="ContentObjectAttribute_data_option_value">
<option value="0">Thémes</option>
<option value="1">Sortir</option>
<option value="2">Se looker</option>
<option value="3">Etre bien</option>
<option value="4">Chez soi</option>
</select>
</div>
</form>

<form name="fullview" method="post" action="/content/action">

<div class="block">

<select name="ContentObjectAttribute_data_option_value">
<option value="0">Rubriques</option>

</select>
</div>
</form>

In the second part of "Rubriques" is in fact the first submenu under Themes, Selooker,.. and so on. And then same way I had set, for the third and forth level of Sub menu and then "OK" button, but I don't know how to set them to work.

nga patel

Tuesday 26 April 2005 7:56:19 am

I'm getting tired,can any body tell me how to implement it?

kracker (the)

Tuesday 26 April 2005 8:41:42 am

nga,

While I can easily understand and relate to your frustration it strikes me as counter productive ask about a fairly detailed solution, yet say so little.

I can write books about just about any topic, especially the onces I'm working on, try to flush out the thought process through your posts, talking your way through the problem, not waiting solely for a reply before sharing the required details, thoughts, end solutions used ... <i>I suggest writing ... more</i>, writing more can have the effect of painting a canvas vs spitting on it.

It just comes off as a bit demanding, especially considering the solution lies a chunk of custom development or re evaluating just how much of a requirement this features is to the user experience ...

From what I've read of what you describe is a mix of client side and server side custom forms / select menus / and client side scripting to alter the 2nd select menu's contents (items) when a user selects an item from the 1st select menu.

It's not impossible but you have to work the process through to it's completion. Like looking up a word you are not familiar with up in the dictionary.

I don't believe eZ publish offers an abstracted solution to this "generation" level of interactive web applications, or web app linked option lists ... by default.

I am fairly sure I see where your going here, but the solution lies in adding the dependant client side script (javascript) into your advanced search template override than finding an elusive eZ publish secret.

anything is possible,
//kracker

dr katz : bakery ben

Member since: 2001.07.13 || http://ezpedia.se7enx.com/