Print Page | Close Window

Store Map and Absolute Paths in header / footer

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2971
Printed Date: 24-July-2025 at 8:43pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Store Map and Absolute Paths in header / footer
Posted By: Conan
Subject: Store Map and Absolute Paths in header / footer
Date Posted: 21-August-2009 at 4:47pm
I am having an issue with my custom header / footer template elements during generation of the HTML store map.

all the root relative paths that are coded in my header / footer are being rewritten incorrectly... for example a link to an image coded as "/images/imagename.jpg" is being transformed into

http://dev.wallpaperforwindows.com/pc//images/template_07.jpg
http:// -



Replies:
Posted By: Greg Dinger
Date Posted: 21-August-2009 at 5:15pm
The header/footer in the PC folder must reference images that are AT or BELOW the PC folder. Referencing the image relative to the root won't work.
 
If you have any images in a root folder, you need to move or copy the images to the /pc/images (or better yet, something such as /pc/images/site-graphics/) folder.  Then, reference the images without a leading /.
 
For example, the image on your left nav needs to be referenced as:
<img src="catalog/images/btn_expand.png">
 
These would also work:
<img src="images/btn_expand.png">
<img src="images/site-graphics/btn_expand.png">
 
This will not work as you have discovered:
<img src="/pc/catalog/images/btn_expand.png">


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Conan
Date Posted: 21-August-2009 at 5:15pm
I fixed it. go me.

for some reason it is putting two
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
in the head but i can handle that.



-------------
http://dev.wallpaperforwindows.com
Product Cart 3.51
apparel add-on
seo URL modifications



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net