is there a way to remove the search sidebox from SSL pages only?
is there a way to remove the search sidebox from SSL pages only?
This post may help (it is for the manufacturers sidebox though):
http://www.zen-cart.com/forum/showpo...5&postcount=12
You will need to make your changes accordingly to match the name of the sidebox you want to disable on your SSL pages
thanks,
i tried adding this to
/includes/modules/sideboxes/MY_TEMPLATE/search.php
but it doesn't work. not sure what i'm doing wrong.Code:// show only on non-secure pages switch ($request_type) { case ('SSL'): $show_search = false; break; case ('NONSSL'): $show_search = true; break; }
Try this version
Code:(.... header....) // show only on non-secure pages if ($request_type=='SSL') { $show_search = false; } (.... rest of the file ....)
I am trying to implement this for the facebook_box mod. However I am unsure of what the name for $show_xxxx should be?