July 30, 2007

why the demo theme is named ‘demo’

Tags: ,
Filed under: ZenMagick — DerManoMann @ 4:02 am

Based on a recent, somewhat amusing email conversation, I’d like to add a couple comments on the demo theme.

Basically, the demo store is the place where I put stuff that illustrates various aspects of ZenMagick themes. There are:

  • custom controller (under extra/controller)
  • product sorter (under extra/resultlist)
  • l10n and i18n settings
  • conditional theme switching (local.php)
  • Ajax
  • Lightbox image display (as of 0.8.2)
  • page specific CSS
  • individual form field validation messages (using zm_field_messages(..))

A very similar list is actually on the demo theme’s index page.

So, creating a new theme by copying the demo theme and renaming the folder and theme info class will give you all that. It will also give you some things you might not have wanted like:

  • A funny crumbtrail crumb ‘Demo-Theme-Controller-Demo-Crumbtrail‘ whenever the default controller is used
  • The words ‘Returnsss‘ and ‘Accountssss‘ in some page titles and crumbtrails

These are the result of the custom controller and language settings. So, if in doubt, you can delete whatever files you copied from the demo theme (only exception being the theme info class).

Alternatively, you might want to create a new theme from scratch to avoid some confusion.

So, thanks for making this Monday a little bit more bearable :)

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.