adi_if_content
Content informed conditional
Conditionally generate output depending on whether any of the enclosed tags generate content.
Conditionally generate output depending on whether any of the enclosed tags generate content.
How to prevent indexing a test site and to serve (or not) content according to a given production status.
A conditional container tag to serve content to EU visitors only (e.g. a cookie-prompt: see usage notes below) or non-EU visitors (via <txp:else />
) tag.
Option 1: <txp:pro_mobile> // Show mobile content here </txp:pro_mobile> Option 2: Use as an if/else:…
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.
adi_mobile implements mobile browser detection, together with some website mode switch functionality and viewport measurement.…
Lately, I’ve been writing Textpattern pages for relatively complex sites that do things like this:…
Since dub_if_ajax is no longer up for grabs: here’s jdw_if_ajax . This plugin is based…
0 articles