Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
theme system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2008 at 03:15 UTC
Updated:
19 Aug 2009 at 19:08 UTC
What's the point of an "enabled" theme?
Either the theme is the active theme or it's not. What is the added value of the more "bureaucracy" of "enabled" or "disabled"?
Code that needs to look at all installed themes should be able to do so if needed. Example need is with Update status module. Otherwise, code should only use active theme.
Comments
Comment #1
highermath commentedThe point of having enabled themes is to provide a list of themes for users who have the select theme permission. The idea is that they have the right to use themes that are enabled for that purpose, and not every installed theme.
Comment #2
aren cambre commentedThat makes little sense.
If you don't want a user to select a theme, why is it on the server? Best practice in industry is that stuff that isn't used doesn't go on a production environment.
It's not as if administrators can use disabled themes. Well, they technically can, but the theme becomes enabled.
Comment #3
damien tournoud commentedThat makes perfect sense, because: (1) several instances of Drupal (in a multi-site installation) can share the same code base; (2) site owners may not want to use core themes.
So this is a won't fix on the basis of the arguments outlined here ("bureaucracy", "makes little sense"), but please also see #292253: Remove the per-user themes selection from core, that seeks the same objective, but for reasons that make a lot more sense.
Comment #4
aren cambre commentedChanging to duplicate since they are so closely related.
Comment #5
mcrittenden commentedGood proposed compromise here: http://drupal.org/node/491214#comment-1944516