Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing the Home link.

Changing the Home link.

Locked

Views: 1,168

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
26 Mar 2007, 11:39 PM
#1
bozlee avatar

bozlee

New Zenner

Join Date:
Mar 2007
Posts:
1
Plugin Contributions:
0

Changing the Home link.

I'm at a loss trying to change the "home" link on the front page from the root to /index.php. There is an intro page before the actually zen-cart page and I've looked everywhere for how to change this, any advice?

27 Mar 2007, 3:17 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changing the Home link.

I'm not exactly clear on what you want to do. The HOME link will always take you back to the main screen of your ZC. If you want a link back to your intro page, you can add it in includes/templates/YOUR_TEMPLATE/common/tpl_header.php. Add the line in red

<div id="headerWrapper">
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
    <ul class="back">
    <li><a href="http://www.yourdomain.com/whatever.html">Whatever</a></li>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>

HTH!