Dear Lynne,
This dropdown works fine when it is in
Style Manager; it doesn't need any more code. I just need to translate it properly from the following code block into PHP so I can take it out of
Style Manager and put it in the PHP module.
This works:
HTML Code:
<a id="navbar_search" href="/forums/search.php$session[sessionurl_q]"> Search </a><if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if>
I believe the main reason why it is not working when I turn it into PHP is because I don't know what the PHP version is for the
$show[] array. This is what I was trying to do in the last code block of my previous post. There is a
$show[] array, but I am not sure it is correct b/c it does not contain
'quicksearch' as a member. Here is what it contains:
Code:
Array ( [search_engine] => [old_explorer] => [left_column] => 1 [center_column] => 1 [right_column] => 1 [editor_css] => [xfire] => )
Thanks!