Forums / Templates, Stylesheets, Page Layout / Replace Home URL with Website URL instead of Store

Replace Home URL with Website URL instead of Store

Locked

Views: 2,188

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jul 2006, 6:59 PM
#1
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Replace Home URL with Website URL instead of Store

Hi All,

I am trying to replace the URL for Home to that of my main website. I tried modifying the tpl_header.php and when I replaced the line of code with my website URL my entire store disappeared. Can someone tell me how to do this?

Thanks!

4 Jul 2006, 9:56 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

In tpl_header.php in \includes\templates\template_default\common\tpl_header.php
Look for this code and change accordingly

<td align="left" valign="top" width="33%" class="headerNavigation"> <a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a> | 

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

5 Jul 2006, 11:02 PM
#3
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

Hello,

My store disappears when I do that (all except a narrow line at the top.) Can you tell me what part has to be changed?

Also, if I have my website link on each page will this mess up my SSL pages?

Thanks!

8 Jul 2006, 12:07 PM
#4
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

Hello,

I would still like to have my Home button direct to the home page of my website. The changes above made my store disappear. What is the exact syntax that I replace with the URL?

Thanks!

8 Jul 2006, 12:32 PM
#5
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

mlm2005:

Hello,

I would still like to have my Home button direct to the home page of my website. The changes above made my store disappear. What is the exact syntax that I replace with the URL?

Thanks!

What did you try so far?
Please let us know clearly

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

8 Jul 2006, 1:58 PM
#6
mlm2005 avatar

mlm2005

Zen Follower

Join Date:
Mar 2005
Posts:
141
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

I found the following syntax and replaced with my website URL as below but my store disappeared (all but a small narrow strip at the top.)

Thanks

<td align="left" valign="top" width="33%" class="headerNavigation"> <a href="HTTP://WWW.MYWEBSITE.COM"><?php echo HEADER_TITLE_CATALOG; ?></a> | 
8 Jul 2006, 3:41 PM
#7
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Replace Home URL with Website URL instead of Store

mlm2005:

I found the following syntax and replaced with my website URL as below but my store disappeared (all but a small narrow strip at the top.)

Thanks

<td align="left" valign="top" width="33%" class="headerNavigation"> <a href="HTTP://WWW.MYWEBSITE.COM"><?php echo HEADER_TITLE_CATALOG; ?></a> | 

Try this:

<td align="left" valign="top" width="33%" class="headerNavigation"> <a href="http://www.mywebsite.com">Home</a> | 

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!