Tag Archives: code

Textpattern CMS conditional tags: nesting or not

In my previous article regarding Textpattern CMS conditional tags, I walked through an example code chunk that used a bunch of conditional tags to context-sensitively populate the `<title>` of a …

Tags: , , , , , , , , , | Posted under Textpattern | Leave a comment

A PHP Code Clarity Tip

This is a quick tip on making your PHP code easier to read (both for others, and for you). Complicated if statements can be fairly obscure, so we’ll look at …

Tags: , , | Posted under MODX, MODX | Leave a comment

Textpattern CMS conditional tags:

The first Textpattern CMS conditional tag to learn about is `<txp:else />`. It’s a standout tag when compared alongside the other 32 conditional tags because it can be legitimately used …

Tags: , , , , , , , , , | Posted under Textpattern | Leave a comment