Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Dec 2015, 08:04
VineetN VineetN is offline
 
Join Date: Nov 2015
Template hooks

Hello,

I am trying to get the root directory path of my site. P.S the code below:

{vb:set baseurl,{vb:raw vboptions.bburl}}

OUTPUT: http://localhost/vb5/upload/core

I want to just get a path till upload/ i.e. http://localhost/vb5/upload/

How can I do this within the template hook. Please help
Reply With Quote
  #2  
Old 04 Dec 2015, 04:44
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
{vb:raw baseurl} should return what you want.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #3  
Old 09 Dec 2015, 05:02
VineetN VineetN is offline
 
Join Date: Nov 2015
Thanx...That worked!!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:45.

Layout Options | Width: Wide Color: