Posted by Flying Drupalist on November 21, 2008 at 4:00am
4 followers
Jump to:
| Project: | Color.module: SoC 2008 |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Is there a way to reinstall a theme? I've made changes to a theme since using it, is there some way to reinstall it? It's only picking up old template.php. How do I get the site to read it again? I've tried rebuilding the theme registry and clearing the cache. Not sure what else to try.
Thanks!
Comments
#1
Well,
Are you sure you're in the /themes/YOURTHEME folder?
I'm not fully sure with how this system work, however you can also try using the devel module, install, and use the "devel" block for some extra devel/theming features.
You can also try unchecking, saving, and checking the theme in the
admin/build/themespage.JohnAlbin, if you could come up with anything else
#2
Thanks for your help.
I'm in the sites/all/themes/yourtheme folder.
I eventually reinstalled the color module, and that cleared everything. I think there should be a feature to rebuild the theme. :)
#3
Yea, this is annoying.. what you can do to avoid re-installing the module/theme is remove the mentions of your theme from the "color" and "color_schemes" tables AND disable the "color service" for the theme on the theme settings page.
#4
OK I was hoping that would work but actually you should take a different path:
Execute variable_set('theme_color_THEMENAME', 0); somewhere, then go to your theme settings and "clean up" the previous configs - that will clean up the DB - then enable schemes again.
Puh :/