Hi thanks for the heads up on the typo and compliment on my site.
I tried looking for the message me sidebox, but could not find it in the plugins area.
So I made a little SSL box to try and show you where the content would need to go.
As it says in the files comments you can add just about anything to the box, including other php code.
Perhaps the easiest way would be to take a copy of the code that controls the show - no show function and add it to the origional sodebox.
The code would go in your /includes/modules/sideboxes/your_template/name_of_sidebox.php file. (although you, your client may not have an overrides folder for modules)
You may see a line of code like: swap out the word secure for whatever your box is called.
Code:
$show_secure_sidebox = true;
the code staement would go in after that.
To look like this
Code:
$show_secure_sidebox = true;
if ($_SERVER['HTTPS']== 'on' ){
$show_secure_sidebox = false;
}
if ($show_secure_sidebox == true) {
require($template->get_template_dir('tpl_secure_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_secure_sidebox.php');
$title = BOX_HEADING_SECURE_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
Anyway here is a little add-on box I put together to show you.
Bookmarks