Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Turn off HOME link in Logo Image

Locked

Started by idw on 2 Jan 2007, 11:07 PM · Views: 9,048

Results 1 to 20 of 41
This thread is locked. New replies are disabled.
2 Jan 2007, 11:07 PM
#1
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #1 by idw

Where would I find the script that turns off this
<a href="http://washingtonpools.ca/online/"><img src="includes/templates/custom/images/I have completly emptied my shop( **www.washingtonpools.ca/online** )**to **find an insecure item and this is the only thing left.

2 Jan 2007, 11:33 PM
#2
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #2 by carl

This is happening because the login page is secure but your image is not going through your secure server. change http to https and your s.s address in front of washingtonpools.
There may be other ways to do this, (the experts could tell you) but this is the way I do it.

2 Jan 2007, 11:46 PM
#3
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #3 by carl

ps. example:

src="https://your.secure-secure.com/yourdomain.com/shop/images/

2 Jan 2007, 11:56 PM
#4
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #4 by idw

That makes sense but I cant find the script. Thank link was installed on original load by Zen cart. I did not set it.

I copied that script from page source on Fire Fox

2 Jan 2007, 11:57 PM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #5 by barco57

I don't see anything wrong with any of the links on your secure pages. The page doesn't throw any errors for unsecure items.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

3 Jan 2007, 12:12 AM
#6
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #6 by idw

barco57:

I don't see anything wrong with any of the links on your secure pages. The page doesn't throw any errors for unsecure items.

You must be using firefox. All is Ok there.

In explorer when you log in it say insecure and loses all style. Ihave completly emptied my site to find this problem.

3 Jan 2007, 12:14 AM
#7
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #7 by carl

could be in /lang/english/header.php
It had to be put there by you or someone that did install for you.
anyway the prob is def in that empty X img space on your main page under home login

3 Jan 2007, 12:26 AM
#8
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #8 by idw

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Washington Pools');
define('HEADER_SALES_TEXT', 'Welcome');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '84px');
define('HEADER_LOGO_IMAGE', ' ');

that script is in header.php
I took out the image but cant find the link To HOME

3 Jan 2007, 12:39 AM
#9
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #9 by carl

This is not the active header.php because your active header has the HEADER_ALT_TEXT as 'Washington Pools leasurescapes.
try looking for the active file like,, /lang/english/classic/header.php

3 Jan 2007, 12:58 AM
#10
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #10 by idw

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Washington Pools');
define('HEADER_SALES_TEXT', 'Welcome');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '84px');
define('HEADER_LOGO_IMAGE', '');

This header.php is from my custom file. It will override the classic file.

The leisurescapes is missing because I copied it from my backup files.
(its faster)

The link reference to the header logo is to www.washingtonpools/online (HOME)
Thats what I cant find

3 Jan 2007, 1:09 AM
#11
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #11 by barco57

The image will be unsecure on secure page unless you call it with a relative url
example: url(../images/logo.gif) instead of url(includes/templates/CUSTOM/images/logo.gif)

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

3 Jan 2007, 1:14 AM
#12
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #12 by carl

I cant suggest anything at moment but just keep looking. I am a little confused, if you say this script is from your custom file, i would say nothing of this one is live on your main page. I would sleep on it then try fresh tomorrow.

3 Jan 2007, 1:31 AM
#13
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #13 by idw

barco57:

The image will be unsecure on secure page unless you call it with a relative url
example: url(../images/logo.gif) instead of url(includes/templates/CUSTOM/images/logo.gif)

Yes I know that. What I do not know is what php is calling it or I would change it.
index.php tells header.php to load

Header.php does not tell the image to link to HOME. What does?

I can not tell you how good it is to talk to someone about this problem other than my wife who is telling me to me give up.

Carl I tried to sleep on it last night.

I think I would suggest to any new installers to set up ssl first before doing anything else. Last night I had a finished web page today I have a blank site with one link thats insecure about itself.It also happens to be the very first thing I did. 3 weeks ago

3 Jan 2007, 1:52 AM
#14
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #14 by barco57

includes/templates/template_default/common/tpl_header.php

go to logoWrapper div

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

3 Jan 2007, 2:38 AM
#15
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #15 by idw

barco57:

includes/templates/template_default/common/tpl_header.php

go to logoWrapper div

<div id="logoWrapper"> <div id="logo"><?php echo '<a href="' . HTTPS_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>

I added the S but it did not help. I will keep looking

3 Jan 2007, 3:33 AM
#16
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #16 by barco57

i didn't think it would but you wanted to know the file.....I have reread this thread and I still believe that the problem is that the image is called wrong, not a problem with the link (a href tied to the image) as the link points outbound from the secure page to the index page and that doesn't matter. Maybe I'm not understanding the issue.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

3 Jan 2007, 5:43 AM
#17
Kim avatar

Kim

Obaa-san

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

Post #17 by Kim

Are you using a cPanel redirect to link from the root to your subdirectory?

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.

3 Jan 2007, 6:17 AM
#18
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #18 by idw

Kim:

Are you using a cPanel redirect to link from the root to your subdirectory?

I would say no because I an not very fammilar with a redirect.

this is needed because of the mirrored site in a ssl dir?

I am beginning to wonder if a sharred ssl is worth it. If I was to purchase one in my domain name do I still need to manage another set of files in a ssl dir?

3 Jan 2007, 2:56 PM
#19
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Post #19 by carl

IDW:

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Washington Pools');
define('HEADER_SALES_TEXT', 'Welcome');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '84px');
define('HEADER_LOGO_IMAGE', '');

This header.php is from my custom file. It will override the classic file.

The leisurescapes is missing because I copied it from my backup files.
(its faster)

The link reference to the header logo is to www.washingtonpools/online (HOME)
Thats what I cant find

I am not convinced, this is not what is produced on your site, so I think you are still looking at the wrong header, maybe override not working.
what is on your site is this.
// added defines for header alt and text
define('HEADER_ALT_TEXT', 'washington pools leisurescapes');
define('HEADER_SALES_TEXT', ' <i>Sarnia ON</i>');
define('HEADER_LOGO_WIDTH', '280px'); x
define('HEADER_LOGO_HEIGHT', '100px'); x
define('HEADER_LOGO_IMAGE', 'logo.gif'); yours is missing

I think it important you find this header.php and go from there. Ultra edit32 makes it easy. I see you have made a few mods on your opening page,, eg. powered by:,, you may have dropped a clanger on the way and may not be easy to remember what you did.
If you have no hair left to pull out, you could try this as a last resort:
Download the template gloss blue or black, excellent template and a 5yr old could install it, so easy. dont bother with overides at this stage, update in admin then run it. i think there is a good chance all the nastys will go. nothing to loose at this stage.
good luck.

4 Jan 2007, 2:30 AM
#20
idw avatar

idw

Zen Follower

Join Date:
Dec 2006
Location:
Ontario
Posts:
111
Plugin Contributions:
0

Post #20 by idw

I start thinking, "so the error comes from pulling a image from an unsecure part of the site"

So I changed the name of the http dir so it cant find it and tried to open the site with https://ssl5.servage.net/~sc15698-NLZR/online

This showed up on the task bar

https ssl5.servage.net/~sc15698-NLZR/online/zc install/index.php

Not found

where did the zc_install come from