Problem
When I went to the switchtheme configuration, I was confused as to why I didn't see the 10 uploaded themes that I had just uploaded to my site. It took me a few minutes before I remembered that I had to go in and enable each theme so that it will be available to the switchtheme modules.
Solution
Modify the instruction text on the main switchtheme configuration page: http://<yoursite>/admin/settings/switchtheme/themes
Text Changes
From:
Set a label for each enabled theme. This is what will be displayed to the user in the selection box.
To:
Ensure that you have enabled the themes to select form in Site Building -> Themes -> List. Then you can set a label for each enabled theme listed below. This is what will be displayed to the user in the selection box.
Code Changes
File: switchtheme.module
From
19 return t('Set a label for each enabled theme. This is what will be displayed to the user in the selection box.');
To
19 return t('Ensure that you have enabled the themes to select form in ' . l("Site Building -> Themes -> List","admin/build/themes/select") . '. Then you can set a label for each enabled theme listed below. This is what will be displayed to the user in the selection box.');
Comment | File | Size | Author |
---|---|---|---|
#3 | switchtheme-HEAD.settings-help.3.patch | 1.88 KB | sun |
#2 | 676480_switchtheme.patch | 785 bytes | alphageekboy |
#1 | 676480_switchtheme.patch | 785 bytes | alphageekboy |
Comments
Comment #1
alphageekboy CreditAttribution: alphageekboy commentedForgot to attach the patch.
Comment #2
alphageekboy CreditAttribution: alphageekboy commentedUpdated patch to correct typo of "form" to "from" in "...themes to select from..."
Comment #3
sunHow about this?