N
|
n_ack author 4/7/2010 |
Using "old"-search one can show/hide search fields by declaring a BeforeShowSearch() event: $xt->assign("SearchFieldName_fieldblock",$_SESSION["AccessLevel"]==ACCESS_LEVEL_ADMINGROUP);
$xt->assign("addSearchControl_Client_Name_attrs",false);// won't work; |
N
|
n_ack author 4/7/2010 |
A templatevar {$addSearchControl_FieldName_attrs} exists in template tablename_search_panel.htm , unfortunately there are no events for search_panel, so how to do the following? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=49045&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' /> $xt->assign("addSearchControl_Client_Name_attrs",false);// won't work;
// display templ
|