Hi Everyone,
I have a double home page link in the footer of my Zen Cart website. Any ideas how to get rid of it?
Thanks
http://www.buddypetstore.com/
Hi Everyone,
I have a double home page link in the footer of my Zen Cart website. Any ideas how to get rid of it?
Thanks
http://www.buddypetstore.com/
I was told that you have to modify the categories sidebox template, does anybody know the file name or where it is located? Thanks
In your admin>tools>dev tool kit
that will help you locate any file
Thanks for the link :-) However used and still can't figure out how to get rid of the double home page links in the footer. Can't see anything that would do it under Categories.php under sidebox or tpl_footer.php under common?
Its called "menu" and its in your common> footer
prob
The first Home link will be in /includes/templates/your_template/templates/tpl_footer.php.The second one should be an ez-page link, and you should be able to delete it in Tools > EZ-Pages. It is a Template Monster template, though, so who knows... Good luck!PHP Code:
echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'. HEADER_TITLE_CATALOG . '</a>';
Hi Gjh42.
Thanks for the reply and information, I located the file under
/includes/templates/your_template/common/tpl_footer.php.
And have taken some code and shown below:
<!-- ========== MENU ========== -->
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"><?php echo HEADER_TITLE_CATALOG; ?></a><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>
<?php } ?>
<!-- ========================== -->
I than deleted the following
<a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
Seems to have got ridden of the first homepage word link in the footer, but now stuck with the "::" in front of the remaining home page link? did I delete the right line? or do i need to delete more somewhere?
Thanks for your help
tpl_ez_pages_bar_footer.php puts the :: before each ez-page link. Eliminating the first one will require writing a bit of new PHP.
The easiest way to get rid of one of the home links would be to leave tpl_footer.php as is, and delete the "Home Page" ez-page in Tools > EZ-Pages.
Bookmarks