20 Jun 2008, 2:09 PM
Zen Follower
- Join Date:
- Apr 2008
- Posts:
- 193
- Plugin Contributions:
- 0
Differnt links to appear in header when you are logged in? Edit tlp_header.php??
Could I edit the PHP in the tlp_header.php so that different links appear in the header if are logged in or logged out?
I copied and started to edit the ‘My account’ link as it only appears when you log in.
I changed this;
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
to this;
<li><a href="http://google.com">Google Logged In</a></li><?php } else {
if (STORE_STATUS == '0') {
?>
But i just got a blank page as the PHP crashed. Could anyone help with this? Eventually I want a different EZ-Page to appear when you are logged in.