This topic is locked

integrate search events for panel

4/8/2010 5:32:01 AM
Suggestions
N
n_ack author

PHPRunner 5.2

Using "old"-search one can show/hide search fields by declaring a BeforeShowSearch() event:

$xt->assign("SearchFieldName_fieldblock",$_SESSION["AccessLevel"]==ACCESS_LEVEL_ADMINGROUP);


This setting however does not affect/is not propagated to the adv_search_panel.

There are no events for adv_search_panel, which would make sense if existing events on search pages would propagate to adv_search_panel.

May I suggest a single/more uniform approach, or am I missing something?
see: topic/14217-hide-search-field-on-adv-search-panel