Is there a way that I could referrence the WSNLinks URL in my templates without writting out the entire url? Im running into problems with images when i am more two or more pages deep into my directory. I use ModRewrite so if im in the second page of my directory the URL is mysite.com/directory/category1/2 and the templates is trying to access my image folder with images/someimages.jpg doesnt work. I guess what im trying to ask is there a global template variable for the scripts url that I could just plugin and no matter where I am in the directory structure I would be at the scripts root url??
Comments on Script URL in templates
Member
Usergroup: Customer
Joined: Jan 15, 2005
Total Topics: 7
Total Comments: 20
Is there a way that I could referrence the WSNLinks URL in my templates without writting out the entire url? Im running into problems with images when i am more two or more pages deep into my directory. I use ModRewrite so if im in the second page of my directory the URL is mysite.com/directory/category1/2 and the templates is trying to access my image folder with images/someimages.jpg doesnt work. I guess what im trying to ask is there a global template variable for the scripts url that I could just plugin and no matter where I am in the directory structure I would be at the scripts root url??
Member
Usergroup: Customer
Joined: Jan 15, 2005
Total Topics: 7
Total Comments: 20
nevermind as usual i found it in the knowledgebase after posting the message lol