Categories:
Author:
Current version:
0.3
About It:
Get it:
Rate it:
Flag it:
If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!
adi_globals
This is an easy way of getting hold of TXP global variables.
Just specify the variable you’re interested in & adi_globals will find it & return it’s value, e.g.
<txp:adi_globals name="page" />
will return the current Page template name from $pretext
.
adi_globals automatically searches through $prefs
, $pretext
, $thisarticle
, $thispage
, thissection
, $thiscomment
, $thislink
, $thisimage, $thiscategory &
$thisfile@.
And, just for good measure, a TXP variable of the same name will be set as well.