Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a CMS that can do the following two things:

  • Reusable, named blocks (modules) of text that can be inserted in the content (i.e. articles, posts - the terminology differes between various CMS-es). The obvious example is a header/footer block, but I want to build all content from such blocks, so any solution that can only place blocks on the sidebars etc. is inadequate.

  • Variable substitution (extrapolation). The blocks described above would serve as templates, and would contain stretches of text with "inline" variables. For example, "Click here to download {app-name}". The CMS would look up the declaration of "app-name" in the db and replace it with the actual value on the fly.

I am aware of TextPattern, which does the blocks quite nicely (they're called forms in TP), but not the substitution. Its management of static pages seemed somewhat limited, too. Is there anything else?

Must be non-commercial (this is for a hobby programming site), and ideally be php/mysql or php with flat files. (I am trying to escape Joomla, which for all the complexity does little to actually reduce the time spent on maintaining content - in fact, hand-crafting HTML would sometimes be faster.)

share|improve this question
I'd say Drupal, but if Joomla's not a happy fit for you I doubt Drupal would be either... – squillman Sep 22 '09 at 14:57

You can try Typo3.

But, compared to Drupal or Joomla, it has a really big learning curve and can be very unfriendly...

share|improve this answer

I would look at CMS Made Simple. It uses Smarty as the underlying template engine which does the variable substitution your looking for.

share|improve this answer
CMS Made Simple is quick to learn and fairly easy to hack (PHP) for custom play. – Jakub Mar 4 '10 at 20:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.