HI,
How do I locate the links at the top of the page to edit them? I am still searching but haven't found them yet.
I am using the current version of ZenCart.
Also where can I change links and things in the footer?
Thanks,
SC436
HI,
How do I locate the links at the top of the page to edit them? I am still searching but haven't found them yet.
I am using the current version of ZenCart.
Also where can I change links and things in the footer?
Thanks,
SC436
Depends on what you are trying to do check these files
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/languages/english//YOUR_TEMPLATE/index.php
includes/languages/english//YOUR_TEMPLATE/header.php
Thanks. Yeah looked at those, but don't really understand php and I need to link to something outside of ZenCart. Having issues figuring it out. It appears that the links as far as I can tell are in the tpl_header.php and tpl_footer.php, but I have no idea on how to edit these especially to go outside of zencart.
SC436
It depends on what links you mean. A link to your site would help. If you have a stock Zencart installation, they may be EZ page links.
Just as an example, in your tpl_header.php around line 45 of the default file you see this:
You can add a <li></li> tag and put your link in there like:PHP Code:<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.youroutsidelink.com">MY OUTSIDE LINK</a></li>
Same in the footer
Thank you. I will give that a try.
SC436