how do I add links next to my navigation where it says Home; Login
I would like to add other links like my blog and gallery. is this possible?
my links is http://www.digi-moments.net/Shoppe/
thanks in advance
-Tanya
how do I add links next to my navigation where it says Home; Login
I would like to add other links like my blog and gallery. is this possible?
my links is http://www.digi-moments.net/Shoppe/
thanks in advance
-Tanya
Find your copy of tpl_header.php then find <!--bof-navigation display--> and <!--eof-navigation display-->
Look at the listings between these and insert additional li's where you want with href's to your pages
thanks soo much![]()
I want to do this too, but it will not show up.
Here is my code in tpl_header.php:
Where did I go wrong?PHP 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>
<li><a href="http://www.chappellmccullar.com/notes/index.php">Michael's Blog</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>
<li><a href="mylink.html">My link</a></li>
<?php }?>
</ul>
</div>
bobdog,
How about a look at the site where this is?
Hi Kobra,
http://www.chappellmccullar.com/catalog
bobdog,
If that is your tpl_header.php file it is not in the correct place and not being used.
What is the path to this file?
It should be in includes/templates/custom_template/common
Kobra,
Thanks for the reply. True, the <li> was removed yesterday as I awaited a reply.
However, I solved the problem. For others having this problem, there seems to be a specific place to add between the
<!--bof-navigation display-->
and
<!--eof-navigation display-->
This worked for me:
PHP 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>
<li><a href="http://www.MY_LINK.com/notes/index.php">MY LINK</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-->
is there anyway to change the home link to say shoppe? instead of home?
Yes. In includes/languages/english/header.php check around line 16,
Change this:
To this:PHP Code:define('HEADER_TITLE_CATALOG', 'Home');
Be sure to save it to languages/english/MY_TEMPLATE/header.phpPHP Code:define('HEADER_TITLE_CATALOG', 'Shoppe');