WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Script URL in templates

Version:
printPrint


Script URL in templates
wizard
Member

Usergroup: Customer
Joined: Jan 15, 2005
Total Topics: 7
Total Posts: 20
Posted 02/12/05 - 07:01 AM:
quote post
#1
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 Posts: 20
Posted 02/12/05 - 07:04 AM:
quote post
#2
nevermind as usual i found it in the knowledgebase after posting the message lol
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.