Forums / Templates, Stylesheets, Page Layout / Change Links in Custom Logo/Header?

Change Links in Custom Logo/Header?

Locked

Started by sweetwaterlane on 13 Sep 2008, 6:28 PM · Views: 2,357

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
13 Sep 2008, 6:28 PM
#1
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Change Links in Custom Logo/Header?

I had a custom logo/header installed on my site and now I need to be able to go into it and change the links. I have been into the stylesheet.css and the tpl_header.php and I don't know what to look for to get my links changed.:shocking:

I am trying to change my blog link so it will link to my blogspot rather than the one it is linked to currently.

Thanks!

Sweetwater Lane

13 Sep 2008, 8:08 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,730
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

Your URL?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 Sep 2008, 12:08 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,730
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

More than likely they are coded in the tpl_header.php - Hopefully your designer put it under includes/tempaltes/sweetwater.

Note: it has some extraneous code that will cause you problems. The parts in red should be removed - the CSS in the blue should be moved to your stylesheet

<td><html>

<head> <title>storeBody</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> <!-- body { background-image: url(<http://www.sweetwaterlane.com/images/flowerBG.gif%29;> background-color: #FFFBFB; } --> </style></head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <div align="center"> <!-- ImageReady Slices (storeBody.psd) --> <img src="http://www.sweetwaterlane.com/images/storeHeader.gif" width="824" height="256" border="0" usemap="#Map2"> <map name="Map2"><area shape="rect" coords="12,198,121,239" href="/gallery"> <area shape="rect" coords="130,196,236,241" href="http://www.sweetwaterlane.com/forum"> <area shape="rect" coords="242,195,348,242" href="http://www.sweetwaterlane.com/blog"> <area shape="rect" coords="357,195,466,237" href="http://www.sweetwaterlane.com/makemoney.html"> <area shape="rect" coords="476,194,584,240" href="http://www.sweetwaterlane.com/contest.html"> <area shape="rect" coords="591,195,699,239" href="http://www.sweetwaterlane.com/craftclub.html"> <area shape="rect" coords="708,194,819,239" href="http://www.sweetwaterlane.com/contactUs.html"><area shape="rect" coords="34,47,431,159" href="index.html"> </map> <!-- End ImageReady Slices --> </div> </body> </html></td> <!--eof-branding display-->

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

15 Sep 2008, 5:53 PM
#5
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

Ok, this is great now I know what to look for. :smile:

Now I just need to know what to change??

Thank you for all your help.

15 Sep 2008, 6:31 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Change Links in Custom Logo/Header?

<area shape="rect" coords="242,195,348,242" href="http://www.sweetwaterlane.com/blog">

This is the current link to your blog. Change the href as you wish.

15 Sep 2008, 6:37 PM
#7
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

Thank you. Now I just looked in my tpl_header.php and I could not find it. If it is not there where should I look?:mellow:

Thanks again!

15 Sep 2008, 6:45 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,730
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

What is in your tpl_header.php?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

15 Sep 2008, 6:57 PM
#9
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

None of the above code in your earlier message.

15 Sep 2008, 7:04 PM
#10
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

maybe I am in the wrong file. I went to
public_html
store
includes
templates
sweetwater
then there is a file called template_info.php and I assumed this was my tpl_header.php:huh:
Ok, maybe this is not it. WHERE IS IT??:shocking:
Going crazy here.

Thanks for all your help.

15 Sep 2008, 7:06 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Change Links in Custom Logo/Header?

It must be in another file.
What is in the <!--bof-branding display--> section of tpl_header.php? There is probably a require() or include() function that is calling the other file.


Look in /includes/templates/sweetwater/common/.

15 Sep 2008, 7:10 PM
#12
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

Ok, got to the right file and still nothing of the above code. So it must be somewhere else, any ideas?:blink:

15 Sep 2008, 7:13 PM
#13
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

<!--bof-branding display--> <td><?php include('http://avalanche.websitewelcome.com/~sweetwat/storeHeader.html') ?></td>

is that what you mean?

15 Sep 2008, 7:39 PM
#14
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

I DID IT!!!!!:clap::clap::clap:

Thank you very much for pointing out where that was pointing to. Now the only thing I would like to learn is how to code it to open in a new window rather than in the same window, any ideas?

Thank you to both of you for helping!

15 Sep 2008, 7:39 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Change Links in Custom Logo/Header?

Yep, now you have to locate that file. It doesn't seem to be within your Zen Cart installation - are you really dependent on someone else's website for the existence of your header?

What do you want to open in a new window? The shop when you click the link in your splash page? The header display here has nothing to do with that. OK, you want your blog to open in a new window.
You need to have that file inside your Zen Cart folders to make any changes to it.

15 Sep 2008, 7:44 PM
#16
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

So I got to the file where the header is located and changed my blog button to go to my blogspot but it opens in the same window and I would like when the blog button is clicked to open in a new window.

15 Sep 2008, 7:57 PM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Change Links in Custom Logo/Header?

Standard links use
target="blank"
to open in a new window. I haven't used image maps, but try this:

<area shape="rect" coords="242,195,348,242" href="http://www.sweetwaterlane.com/blog" target="blank">
15 Sep 2008, 8:15 PM
#18
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

ok, I did it. Thank you very very much for all your help.

I looked at your website! Nice job it looks great. It is amazing how much you customized it.

Thanks again for your help.

15 Sep 2008, 8:23 PM
#19
sweetwaterlane avatar

sweetwaterlane

New Zenner

Join Date:
Sep 2008
Posts:
12
Plugin Contributions:
0

Re: Change Links in Custom Logo/Header?

To answer an earlier question, I think the reason the header is set up that way is because it is the same header for my gallery and forum. However those links did not change when I changed it for my store :huh:. So I will try to figure that out now, yeah got to seek help for my forum and gallery now.

Thanks again!