Now I'm using an addon that changes the query string I need to be able to strip this from $xf.uri.
I was hoping a quick string repace would do it, but the code I've written is not working
Am I going about this the wrong way?
I was hoping a quick string repace would do it, but the code I've written is not working
Code:
<xf:set var="$urir">{{str_replace("?amp=1","",$xf.uri)}}</xf:set>
Am I going about this the wrong way?