BirdOPrey5
08-22-2010, 12:58 PM
I'm trying to get the friendly url (current url) of a page, it looks like it should be in:
{vb:raw vboptions.friendlyurl}
But whenever I use this in headerinclude template it resolves to '1' and not a full URL like I'd expect... anyone know how I'd get the URL of the current page?
--------------- Added 1282486854 at 1282486854 ---------------
I got this:
<http://www.example.com/forums/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}
But the problem is it always has "showthread" in the result even if I'm not in showthread but in a profile or forumdisplay.... this isn't that big a deal but I guess I'd need to but a conditional to prevent this from displaying if not in showthread- which I can do but was hoping for a more elegant solution that would work anywhere...
{vb:raw vboptions.friendlyurl}
But whenever I use this in headerinclude template it resolves to '1' and not a full URL like I'd expect... anyone know how I'd get the URL of the current page?
--------------- Added 1282486854 at 1282486854 ---------------
I got this:
<http://www.example.com/forums/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}
But the problem is it always has "showthread" in the result even if I'm not in showthread but in a profile or forumdisplay.... this isn't that big a deal but I guess I'd need to but a conditional to prevent this from displaying if not in showthread- which I can do but was hoping for a more elegant solution that would work anywhere...