remove 'System Default' option for node forms

mrtoner - February 11, 2007 - 05:05
Project:Taxonomy Theme
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:minor
Assigned:Unassigned
Status:active
Description

For the Show theme option in create/edit node forms feature, I'd like to have the ability to remove the System Default item from the themes list. I have an application for which I don't want the user to choose the theme I'm using for the rest of the site.

#1

profix898 - February 11, 2007 - 13:38
Title:System Default» remove 'System Default' option for node forms

Not sure I will integrate such a feature into taxonomy_theme, at least not at the moment! If I add an option to remove the 'system default' theme from that selection field, there will be another feature request shortly to remove others as well. If you dont want users to select a theme on the node form, you can remove 'assign node themes' permission for them and set the theme on taxonomy_theme's administration pages yourself.

You can easily patch your install of taxonomy_theme to hide that option though. Patch attached.

AttachmentSize
unset_default.patch 598 bytes

#2

mrtoner - May 18, 2007 - 02:21

Forgive me for not saying so earlier: thank you for the patch. Now that I see how that works, I can also remove other themes that I don't want authors to have access to, but keep them available to administrators.

 
 

Drupal is a registered trademark of Dries Buytaert.