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/

eZ debug

Timing: Jan 18 2025 22:39:09
Script start
Timing: Jan 18 2025 22:39:09
Module start 'content'
Timing: Jan 18 2025 22:39:10
Module end 'content'
Timing: Jan 18 2025 22:39:10
Script end

Main resources:

Total runtime1.0245 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.8438180.8125
Module start 'content' 0.00600.8375 768.6563616.5703
Module end 'content' 0.84350.1809 1,385.2266337.3672
Script end 1.0244  1,722.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00510.4967210.0002
Check MTime0.00150.1472210.0001
Mysql Total
Database connection0.00080.075110.0008
Mysqli_queries0.930090.78122020.0046
Looping result0.00220.21472000.0000
Template Total0.996997.320.4984
Template load0.00240.230320.0012
Template processing0.994597.075420.4973
Template load and register function0.00020.015110.0002
states
state_id_array0.00080.082210.0008
state_identifier_array0.00090.089020.0005
Override
Cache load0.00200.1924480.0000
Sytem overhead
Fetch class attribute can translate value0.00180.171340.0004
Fetch class attribute name0.00140.133070.0002
XML
Image XML parsing0.00180.178240.0005
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00820.8000370.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0005 secs