@ ideasgirl
Cool I'll check out the box, I take it it's available in the download section...
Here is a little change I made it checks the two criteria you need logged in and ssl connected ( It think )
As I am not at home, stuck at work and skiving an extra long break, shhhh don't talk load.
Anyway here's the update to the answer.
Code:
<?php // hide If customer logged in and SSL connection true
// include("/includes/application_top.php"); really not sure if this is needed as should be called in header
// un-comment these two line if it's not called already
if (isset($_SESSION['customer_id']== > 0 ) && ($_SERVER['HTTPS']=='on')){
echo '<div class="clearBoth">';
echo ' whatever happens when login true and ssl true ';
echo '</div>';
}
// show If customer not logged in and SSL connection false
else {
echo '<div class="clearBoth">';
echo ' whatever happens when login false and ssl false like your normal sidebox stuff ';
echo '</div>';
} // End if
?>
You could run this to show two different box contents or the message me for visiters and a nice graphic for logged in secure customers. I am sure you have probably thought of all that allready.
Anyhoo! back to work for me.
Bookmarks