first post here. any help would be appreciated.
I can’t seem to properly pass the template variable to my snippet inside a chunk. I know the tv works b/c i display it before my snippet call, but once inside the snippet i can’t access the value.
here’s the code below:
<p>[*statusCode*]</p>
[[routeReservationRequest? ¤tStatus=`[*statusCode*]` ]]
The tv value shows in the chunk, but when i echo the value in the snippet it’s empty. I tried to initially just access the tv from within the snippet but not sure how to do that either.
any help is appreciated.
side point: can anyone point me to a good reference on the scope of template variables within modx?