Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-27 16:04:50

leafy_loader
Member
Registered: 2008-09-25
Posts: 96

Accessing txp:variable

I’ve embedded some bespoke php code within a txp form and need to access a variable set via the adi_variables plugin.

is there a global variable that will allow me to do so?

Offline

#2 2011-01-27 16:44:48

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Accessing txp:variable

You can use the variable() function, or you can access the global $variable array directly.


Code is topiary

Offline

Board footer

Powered by FluxBB