Apply wraptag / label to any tag, plugin or content and apply transformations to the data
Wrap any content with standard Txp wraptag / class / html_id / label items and run the content through a sequence of transformations in the process. If the content is empty, no wrap is performed or the
<txp:else /> is executed.
Since dub_if_ajax is no longer up for grabs: here’s jdw_if_ajax .
This plugin is based off dub_if_ajax (no longer available) by Jamie Wilkinson. It uses the x-requested-with header to deliver different content to Ajax calls.
Addition of a new tag: jdw_if_not_ajax.
jdw_if_ajaxContainer tag. When the...
Conditional if browsing from mobile device
This plugin adds conditional tag to determine, if user is browsing from mobile device, or not (using “else” clause). Browser detection function by Andy Moore – dotMobi Certified Mobile Web Developer. I’ve just wraped it into TxP plugin.
Permits multiple conditional if checks against TXP / URL / Server variables
Compares any TXP fields with any other text/fields using a variety of conditional operators such as equals, contains, not, greater than, isnumeric etc. Tests can be combined with AND/OR logic.
Conditional Host Name Plugin
This plugin is meant to help those who do Textpattern development on localhost or a subdomain. Sometimes you’ll want to do one thing on the in-development site, and another on the “live” site. The conditional tag provided by aam_if_host lets you do exactly that.
Enables to read and provide conditionals for PHP Global Variables, as referer's url, server's name, browser's type, GET and POST variables, ...
Enables to read and provide conditionals for PHP Global Variables, as referer’s url, server’s name, browser’s type, GET and POST variables, ...
nfe_if_category is a conditional tag that works complementary to the built-in if_category tag.
The tag outputs inclosed content if the loaded page belongs to a specified category or any of its children. This allows you to define ‘parent’ categories able to work as ‘sections’ work right now.
Checks for "Live" or "Sticky" article status
wet_if_status contains two conditional tags which check for an article’s status being either “live” or “sticky”, respectively.
Conditional tags based on whether or not there are articles in a category
This is a simple plugin which counts the number of articles in a given category and provides conditional tags which you can use to show or hide elements of your site based on whether there are zero or more than zero articles in the category.
conditional to expire article based on posted date
It tests for a set length of time, or greater, in the past against the posted time and returns true or false.
statement if 4 days or more have passed since the posting date
This plugin has been replaced...
Posting time based article content selection.
Both ras_enable_articles and ras_disable_articles conditional tags are included. These conditional tags compare article posting dates to attribute settings and return contained content accordingly.
Conditionals based on dates
Using this conditional tag you can compare a date specified in an article custom field with a date specified in the tag or with ‘today’.
This way you can eg. control the visibility of an article or its part according to dates.
Conditional behavior with/without search results
The rss_if_search_results plugin allows for the conditional display of data when search results are (or are not) present on the current page.
Here are some example uses for this plugin.
<txp:rss_if_search_results> I have results <txp:else> I don't have...
Check for page number(s) in article lists