Hi
I've done a few searches but cannot find the answer to this little problem.
I want to show a different center main page depending on whether you are logged in or not.
I'm sure it's a really simple thing to do but I'm a bit stuck!
Thanks
Hi
I've done a few searches but cannot find the answer to this little problem.
I want to show a different center main page depending on whether you are logged in or not.
I'm sure it's a really simple thing to do but I'm a bit stuck!
Thanks
Assuming that you're talking about the main-page content (the define-page), you can edit the define_main_page.php:
Code:<?php if (!isset ($_SESSION['customer_id'])) { ?> [Insert text/HTML for not logged-in customers] <?php } else { ?> [Insert text/HTML for logged-in customers] <?php }
I tried this in 1.5.4 but it does not work. The main page is now empty. Could it be that in the new version we can not add php code in define_main_page.php?
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks