Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / can't find a simple layout change that I've changed before

can't find a simple layout change that I've changed before

Locked

Views: 881

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Feb 2009, 3:07 AM
#1
madkaw9 avatar

madkaw9

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

can't find a simple layout change that I've changed before

V1.38
Hello Yall'
I know this is simple but I can't find it. There is a header that only says Home and Log In. I know it used to have some more links that I did remove but the issue is now its above my logo and I want it back below my logo. I give up on searching. Its like looking for your keys. You don't find them until you give up looking. Any help is appreciated.

21 Feb 2009, 3:19 AM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: can't find a simple layout change that I've changed before

in your custom header template:
includes/templates/YOUR_TEMPLATE/common/tpl_header.php

21 Feb 2009, 3:47 AM
#3
madkaw9 avatar

madkaw9

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

Re: can't find a simple layout change that I've changed before

Is that where you change the placement of that bar ? Its above my logo right now and it used to be below it. How can I put it back below?

Says Home and Log in at the top.

www.ionecigs.com

21 Feb 2009, 3:55 AM
#4
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: can't find a simple layout change that I've changed before

In the default template that menu bar is generated by this section of code:

<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
<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 }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->

to move it so it's below your logo, move that section of code so it comes immediately AFTER this line of code in the file:

<!--eof-branding display-->
21 Feb 2009, 4:17 AM
#5
madkaw9 avatar

madkaw9

New Zenner

Join Date:
Feb 2009
Posts:
22
Plugin Contributions:
0

Re: can't find a simple layout change that I've changed before

Thank you very much. I had turned off the ezpages header and was thinking that's what that was on top of the page. Your fix did the trick.