[drupal-devel] [bug] Theme Selector Gets Confused If Multiple Subdirectories exist with same name

TDobes drupal-devel at drupal.org
Mon Mar 28 10:06:20 UTC 2005


Issue status update for http://drupal.org/node/16674

 Project:      Drupal
 Version:      cvs
 Component:    theme system
 Category:     bug reports
 Priority:     minor
 Assigned to:  Anonymous
 Reported by:  Anonymous
 Updated by:   TDobes
-Status:       active
+Status:       by design

This is "by design".  The Drupal theme system uses the directory name as
the theme name. Theme names are meant to be mutually exclusive. (Two
themes with the same name is illegal.)


TDobes



Previous comments:
------------------------------------------------------------------------

February 3, 2005 - 01:24 : Anonymous

Hi,
If I'm working with the new Drupal theme system, and create multiple
directories with the same name, even in different subdirectories, then
Drupal picks only one to display (the one in the deepest file
hierarchy).  This is reflected if you do the following:
Go to the themes directory.
Copy "bluemarine" to a name like "themeB".
cd into chameleon.
Copy "marvin" to a name like "themeB".
Go to "Administer Themes" in the Drupal menu.
You will notice that themeB in 'themes/chameleon/themeB' is the only
one listed.  The user would normally expect that two be listed:
'themes/themeB' and 'themes/chameleon/themeB'.
VERY minor bug but a bug nonetheless.
Thank you,





More information about the drupal-devel mailing list