Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Global variables in Textpattern
edit:THIS IS OLD AND BASED ON TEXTPATTERN version g1.19
A lot of links in the textbook seem to point to this location as a good resource for global variables in textpattern.
http://rise.lewander.com/textpattern/94/txp-global-variables
i’ve noticed its been non-functional for quite a while but this appears to be a fully working archive.org link for it:
i don’t know if archive.org keeps these things indefinitely but i figure some plugin developers might want to take a look at it (unless theres a better resource now? if there is, i don’t know it)
Last edited by iblastoff (2007-11-12 18:07:10)
Offline
Re: Global variables in Textpattern
Use the source, Luke!
The article you’re referring to is based on TXP g1.19. Things have changed since then. Not everything, but likely enough to be confusing if old information is used.
Offline
Re: Global variables in Textpattern
Where general user can look for the list of global variables? :)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Global variables in Textpattern
Offline
Re: Global variables in Textpattern
ruud wrote:
Use the source, Luke!
The article you’re referring to is based on TXP g1.19. Things have changed since then. Not everything, but likely enough to be confusing if old information is used.
ahh i see. so should textbook links referring to it be removed? also http://www.focusontheclouds.com/home/articles/72/accessing-global-variables-in-textpattern also seems to be dated and based on textpattern RC3. hmm.
Last edited by iblastoff (2007-11-12 18:19:33)
Offline
Re: Global variables in Textpattern
I don’t mind the links, just be aware that while some of the information is definitely still useful, things like <txp:s />
are deprecated nowadays, so plugin developers should not rely on such information.
Last edited by ruud (2007-11-12 18:33:09)
Offline
Re: Global variables in Textpattern
i also notice this link as well
is there a more definitive, easily-readable and current ‘developer-approved’ list of global variables in textpattern? (besides the actual source code :P)
Last edited by iblastoff (2007-11-12 20:57:17)
Offline
#8 2007-11-12 22:09:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Global variables in Textpattern
Nope. The Txp book has a listing of what each variable is for. I remember Rob asking me about several of them.
Offline
Re: Global variables in Textpattern
Mary wrote:
Nope. The Txp book has a listing of what each variable is for. I remember Rob asking me about several of them.
Can you provide link for the list of variables? I can’t find them myself.
Last edited by the_ghost (2008-01-10 09:00:26)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Global variables in Textpattern
the_ghost wrote:
Can you provide link for the list of variables? I can’t find them myself.
looking for this? http://phpxref.com/xref/textpattern/_variables/index.html
Last edited by iblastoff (2008-01-10 09:10:28)
Offline
Re: Global variables in Textpattern
I thought there is list with some notes like this one. but, ofcourse, http://phpxref.com/xref/textpattern/_variables/index.html is rather useful too
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Offline