Content last modified Tuesday 24 August 2021
hop to #bottom

chs_cookie

Use cookies in through Textpattern markup

this plugin deals with cookies the Textpattern way. It is works almost in the same…


chh_if_data

Hide text when Txp tags return no output

This tag may be used to determine whether some contained Txp tags output any data, allowing the conditional output of accompanying static markup, like a header or a “no articles found” message.


gaw_if_comment_preview

If comment preview

One-line conditional plugin whose contents only appear if the user is on a comment preview…


chs_if_urlvar

conditional statements for GET variables

a plugin that lets you condition parts of the page depending on GET variables transferred…


gho_if_category

Category conditional

This plugin was formerly mdm_if_category and has since been adopted as gho_if_category.


thm_if_article

Conditional on Article ID

This Checks if the current article matches the given IDs. Usage There are 2 Methods:…


ako_ifBrowser

Conditionally include enclosed text based on the user agent of the browser viewing the page.

ako_ifBrowser, conditionally include enclosed text based on the user agent of the browser viewing the page.


swf_section_updated

Display a notice if a section has been updated

I created this plugin for a class website with a section that does not often…


tcm_if

if_individual_article and if_article_list replacements

tcm_if provides tags to replace the <txp:if_individual_article> and <txp:if_article_list> tags, for those having problems with those built-in conditionals.


tcm_if_article_image

Conditional plugin displays code if there is an article image specified.

This plugin will output the contained text if there is an article image.


ob1_if_section

Conditional on section

ob1_if_section is a conditional that supports multiple sections to be set and the use of negate. The negate code are a re-write from the one used in mattmoss’ mdm_if_category plugin.


czg_if_comment_cookies

Conditional tags on comment cookie

This plugin allows you to display certain information about comments only to those users who don’t have the comment cookie set, i.e. who are likely to be first-time visitors.


cnj_excerpt_logic

Tests if the excerpt is empty or if it is not empty

This plugin lets you test if there is anything in the excerpt or not.


ptv_if

General purpose conditional statement

Basically this is a general purpose if / else if / else tag that can be applied on already existing plugins and functions.


glx_if

11 conditional tags

This plugin comes with 11 different conditional tags. glx_if_frontpage If we are on the websites…


zem_nth

Display content every n-th step

<txp:zem_nth> conditionally displays content every “n-th” step. Example uses: Alternate or cycle colours and…


mdm_if_category

Passes content conditional on category

This plugin is used as such: <txp:mdm_if_category category="..."> stuff goes here </txp:mdm_if_category> The category attribute…


swf_if_empty

Conditional to execute code if or not a field is empty

It’s a simple function that checks to see if an entry field (title, body, excerpt, category1, category2 or image) contains data. If the if_not empty tag is used and the field contains data, the code between the open and close tags is executed, and if the field is empty the code is ignored. There is also an if_empty tag, which obviously does the opposite.


rss_if_author

Allows for the conditional display of data based on the article author.


mdn_if_custom

Custom field conditionals

This plugin provides a number of conditional tests for custom fields.


mdn_if_section

Passes content conditional on specified sections

You give it a section=“sectionname” parameter and if you have a match, the enclosed text…


All 1086 articles are stored in the treasure rooms that are the Archives.
Published with Textpattern