PDA

View Full Version : Template hooks


VineetN
12-02-2015, 07:04 AM
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

Replicant
12-04-2015, 03:44 AM
{vb:raw baseurl} should return what you want.

VineetN
12-09-2015, 04:02 AM
Thanx...That worked!!