I found a little mismatch in documentation - error either in Zen or in core documentation.

According to http://drupal.org/node/171205 under "Theme name requirements":

"The name should start with an alphabetic character, can contain numbers and underscores, but not hyphens, spaces or punctuation."

According to README.txt in the STARTERKIT, at lines 32/33:

"IMPORTANT: Only lowercase letters and underscores should be
used for the name of your sub-theme."

I haven't tested for myself which is true, i.e. I don't know whether in fact you can or can't have numbers in the name - & haven't got time/headspace to do that right now - so just noting the mismatch in the hope that someone will know off the top of their head which is right :-)

Comments

cannandev’s picture

I was wondering the same.

johnalbin’s picture

Version: 7.x-5.x-dev » 7.x-3.x-dev

Oooh. Good point. The core documentation is correct.

The name should start with an alphabetic character, can contain numbers and underscores, but not hyphens, spaces or punctuation.

The README needs updating.

johnalbin’s picture

Title: Subtheme names with numbers in them - allowed? » Subtheme naming rules don't match core's guidance
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.