Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / relative links using zen_href_link

relative links using zen_href_link

Locked

Views: 1,961

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
17 Oct 2008, 2:16 AM
#1
doug949 avatar

doug949

New Zenner

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

relative links using zen_href_link

Does anyone know how to use zen_href_link to create relative links rather than something like http://mysite.com/index.php?main_page=contact

Reason I ask is that when one uses SSL encription Foxfire (and probably IE) show a warning message that says "Warning - contains unauthenticated content." When I looked into this the advise I found said to make all links relative.

Thanks,

D

17 Oct 2008, 2:21 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: relative links using zen_href_link

Can you give a sample link?

17 Oct 2008, 2:34 AM
#3
doug949 avatar

doug949

New Zenner

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

Re: relative links using zen_href_link

Thanks for the quick reply. Wow my head is spinning that was so fast. :D

However, I figured out what was causing the problem. I have a little Javascript slide show that was loading images from an insecure url while I had the rest of the page pointed at a secure url (like login).

When I used a secure https url in the javascript problem went away.

Moral of the story is check your javascripts and urls to image files.

--D