Extending the Function of MODx Templates with the Conditional Snippet

Editorial Note: While everything in this article is still technically valid, we've moved away from developing our own code this way, and instead have been working on a large-scale MODx Extra designed around the premise of multi-context development (multiple client websites within a single MODx instance) and this required a significant refactoring of our own code. For an individual project, however, or even as an intellectual exercise, you may still find the article below quite useful when learning MODx!


We'll introduce you to a few of our favourite Snippets in our Blog, and Conditional just happens to be one of them. Conditional is a snippet that allows us to leverage MODx templating features and will allow us to create...

13 OCT 2017

Why We Love Developing with MODX

It is no secret that there are dozens of options when choosing a Content Management System (CMS) to build your website with. Wordpress has garnered the most attention and user adoption for its convenience for both rookie web designers and seasoned...