| Project: | Switchtheme |
| Version: | 7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | enable, instructions, switchtheme, themes not listed |
Issue Summary
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.');
Comments
#1
Forgot to attach the patch.
#2
Updated patch to correct typo of "form" to "from" in "...themes to select from..."
#3
How about this?