Content last modified Monday 3 September 2018
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 2 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


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.

Article Request Count:
Initially released:
13 dec 2011
Posted here:
12 Dec 2011

You know you want to visit the Archives.
Published with Textpattern