Webmastersite.net
Register Log In

Script URL in templates

Comments on Script URL in templates

wizard
Member

Usergroup: Customer
Joined: Jan 15, 2005

Total Topics: 7
Total Comments: 20
wizard
Posted Feb 12, 2005 - 7:01 AM:

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??

wizard
Member

Usergroup: Customer
Joined: Jan 15, 2005

Total Topics: 7
Total Comments: 20
wizard
Posted Feb 12, 2005 - 7:04 AM:

nevermind as usual i found it in the knowledgebase after posting the message lol
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.