Forums / Templates, Stylesheets, Page Layout / Login link(s) not displaying

Login link(s) not displaying

Locked

Views: 892

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Aug 2009, 12:26 AM
#1
webgremlin avatar

webgremlin

New Zenner

Join Date:
Aug 2009
Posts:
7
Plugin Contributions:
0

Login link(s) not displaying

Hello. Thanks in advance for trying to point me in the right direction.

  1. Zen Cart Version 1.3.8a; patch a;
  2. No addons
  3. Installed this template: http://www.zenflavor.com/wp-content/uploads/2009/04/ss-free-template3.jpg
  4. The website URL that I am having the problem with: http://www.premier-coins.com/ .

Currently I am unable to get the login to display on the main page (or any pages). When I installed the template I did not see the login link (assuming that it would display in the dark colored are under the header image - see zenflavor link above which shows the links).

I have made over ride folders and placed customized files in those folders. I don't think there is a setting in the admin panel I changed and I can't seem to find the php file where this information should be located. :frusty:

Any help would be appreciated. Thanks.

24 Aug 2009, 1:10 AM
#2
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Login link(s) not displaying

Looks like something got overwritten in the includes/templates/YOUR_TEMPLATE/common/tpl_header.php file. Compare what is on your server with the original template file. You should have the lines:

<div id="navMain">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <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') {
?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>

If that's not it, then make sure you have the store status set to 0 in your admin interface, go to configuration>my store and check what store status is set to.


Zen Cart and it's community are the best!!

24 Aug 2009, 2:12 AM
#3
webgremlin avatar

webgremlin

New Zenner

Join Date:
Aug 2009
Posts:
7
Plugin Contributions:
0

Re: Login link(s) not displaying

Lankeeyankee,
Many thanks. I was pretty sure it was something simple and it was. I obviously did not fully understand the scope of what the store status did and I changed that setting I am sure of it. :oops: .
I changed that setting and the login link appeared at the top of the page. I originally was not sure what the are below the header image or 'logo' was so I think I changed the height in the CSS to 0. I just changed that back and that still does not display the menu however it does put the space back that I took out once I restored the height value.
The CSS file 'stylesheet.css':

#topmenubar {
/* background: url("../images/menubar.gif");
background-repeat: no-repeat;

width: 850px;
height: 55px;
*/
color: #8B0C40;
background-color: #000;
height: 25px;
}
I should be able to figure this out I was just having a difficult time with the store option not knowing exactly what it did.

Thanks again!