Is it possible to disable the 'theme select' option for users? (without hacking)
Thanks,
V
Is it possible to disable the 'theme select' option for users? (without
Sure. Just enable only one theme and set it as the default.
I have multiple themes enabled (seperate sections have seperate themes), however I dont want the user to change 'default theme' since I have a lot of code in page.tpl.php of the default theme
----- Original Message ----- From: "Morbus Iff" morbus@disobey.com To: support@drupal.org Sent: Friday, November 25, 2005 4:22 PM Subject: Re: [support] turning off theme selection
Is it possible to disable the 'theme select' option for users? (without
Sure. Just enable only one theme and set it as the default.
-- Morbus Iff ( oh, i wish i was a hoggle ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus -- [ Drupal support list | http://lists.drupal.org/ ]
Op vrijdag 25 november 2005 22:37, schreef vrao:
I have multiple themes enabled (seperate sections have seperate themes), however I dont want the user to change 'default theme' since I have a lot of code in page.tpl.php of the default theme
You should look for the hook_user in system.module
And I will support a good patch that removes that, IMNSO, silly stuff from core. :)
Bèr
Thanks. I just set $themes=""; for non admin users before if (count($themes) > 1) {
----- Original Message ----- From: "Bèr Kessels" ber@webschuur.com To: support@drupal.org Sent: Friday, November 25, 2005 5:07 PM Subject: Re: [support] turning off theme selection
Op vrijdag 25 november 2005 22:37, schreef vrao:
I have multiple themes enabled (seperate sections have seperate themes), however I dont want the user to change 'default theme' since I have a lot of code in page.tpl.php of the default theme
You should look for the hook_user in system.module
And I will support a good patch that removes that, IMNSO, silly stuff from core. :)
Bèr
[ Drupal support list | http://lists.drupal.org/ ]