Root Pattern and Full Path
Last Post 11/26/2015 9:53 PM by Peter Donker. 1 Replies.
Author Messages
Michael Hamlett
New Member
New Member
Posts:20


--
11/04/2015 8:19 PM
I'd like to pass the [entry:fullpath] variable in as a root pattern (getting it as a querystring [query:root]) but the [entry:fullpath] puts a leading forward slash so it won't pass properly. Is there a way to eliminate the leading forward slash?

My template creates an anchor tag with URL:
http://www.mydomain.com/H...;entry:fullpath]

Deleting the leading forward slash works properly.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/26/2015 9:53 PM
There isn't. The templating is quite fast but also very dumb (related). Your best bet is to use Javascript to make changes.

Peter


---