Tag Archives: code

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

Textpattern CMS conditional tags: nesting in action

At a base level, Textpattern CMS conditional tags check on the status of a thing (i.e., is the thing an article, is there an excerpt with this article, is the …

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