Textpattern: Context in depth Page 7 of 8

Context elements

Available context elements, grouped by type:

Content contexts
Each corresponds to a Txp content type
Article
Global (individual article page) or local (within an article list)
Image
Global (the p URL param) or local (image list or article image)
Link
File
Local only
Comment
Requires article context.
Metadata contexts
Mainly used globally
Category
Also local within category_list or a content context
Author
Date
Other contexts
(Miscellaneous types.)
Section
(Structural) Used in site organization and presentation; controls which template is used.
Required in global context.
Search
(Functional) Used only for article search.
Global context only.
Incorporates match context (the $m global)
Page number
(Navigational) Used for paging result sets for various content types.
Global context only.

Posted 2011-01-09 (last modified 2011-01-16)