Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-12 17:29:41

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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:

http://web.archive.org/web/20070608093211/http://rise.lewander.com/textpattern/94/txp-global-variables

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

#2 2007-11-12 17:39:46

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#3 2007-11-12 17:47:50

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

#4 2007-11-12 17:51:31

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: Global variables in Textpattern

the_ghost wrote:

Where general user can look for the list of global variables? :)

here

Offline

#5 2007-11-12 18:06:25

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

#6 2007-11-12 18:32:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#7 2007-11-12 20:56:53

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

#9 2008-01-10 08:58:55

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

#10 2008-01-10 09:09:58

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

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

#11 2008-01-10 10:31:35

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

#12 2008-01-10 10:42:34

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

Names are mostly self-explaining ;D

Cheers!

Offline

Board footer

Powered by FluxBB