Thread: Header problem
View Single Post
Old July 27th, 2004, 10:07 AM   #6 (permalink)
hasan2k
Member
Verified Customer
 
Join Date: Jan 2004
Location: Irving, TX
Posts: 35
Quote:
Originally Posted by omegatron
Don told you how to correct this. You are using relative urls in your header

What happens is your say putting say an image in

photopost/images/header.jpg

well your path in your header is /images/header.jpg instead of http://www.domain.com/photopost/images/header.jpg

so what happens is it may view fine over the main photopost index however if you just to another category etc the path is no longer correct in the url.

Same holds true for VB. They have a bug in their code they refuse to fix. Instead of placing a Global url statement in front of everything like we do $Globals['maindir'] they just use relative urls. Per the VB3 Integration FAQ posted at the top of the forum you must edit several VB templates to correct this issue if you want to run a header from another directory ( your forum ) over another directory ( photopost ) so that all images and url tags parse right.
OK I did that and it fixed the problem. Thanks
hasan2k is offline   Reply With Quote