New Zenner
- Join Date:
- Nov 2006
- Posts:
- 44
- Plugin Contributions:
- 0
Editing the Header and footer to have more links
I want to add contact us and site map to the header and footer of the page can any body help?
Cheeers
Views: 1,770
New Zenner
I want to add contact us and site map to the header and footer of the page can any body help?
Cheeers
Deceased
Add the following to both your includes -> templates -> YOUR_CUSTOM_FOLDER -> common -> tpl_header.php and tpl_footer.php
<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li> <?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>
<?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>
<li> <?php echo '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>'; ?></li>
<?php } ?>
In tpl_footer.php find the following:
<!--bof-navigation display -->
<div id="navSuppWrapper">
<div id="navSupp">
<ul>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>Main Page</a></li>
ADD THE ABOVE LINKS HERE
and add the links.
In tpl_header.php find the following:
<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a></li> ADD THE ABOVE LINKS HERE and add the links.NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Tell staff why this post should be reviewed.