Rename theme after already customizing it?

For our public site, we installed and started using the Responsive Business theme. Without considering the consequences, we also started editing the theme's css and template files to accommodate our needs.

Ofcouse, we should have copied and renamed the theme.

So, can I rename the current theme now. Will it break anything? Other suggestions?
sandshakimiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

junipllcCommented:
It could cause problems, but if you followed standard Drupal practices (read: didn't hard code anything) then it will probably work. I've never done it, but I can't off the top of my head think of why it wouldn't.

If you have code in template.php you'll need to change the function names. The same goes with theme_settings.php (if there is one). You'll also have to change the .info file -- both the name as well as the theme information inside it. Finally, you'll have to change the name of the folder that contains the theme.

I think that's all you'll need to do. You will definitely have to set the theme of your site temporarily to another one, then make the changes, clear your cache, then set the theme to your "new" theme. Be sure to clear the caches a lot -- it will catch any weird errors that happen along the line in your system table.

Again, I've never done this, and I haven't had my first cup of coffee yet, but that's how I'd do it. And I'd do it on a backup, or be sure to back everything, everything up multiple times before you do anything. :)

Good luck!

Mike
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nanharbisonCommented:
Sometimes I have been able to rename the theme and it works, and other times it fails. You can always try to rename it, and rename the .info file of course and add the new name to the info file, then upload it and choose it as the default theme. If it doesn't work, then go back to the original theme.
0
nanharbisonCommented:
I never change the template file, but I always create my own css file to tweak the design, and then add it to the .info file. That way it never gets overwritten.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Drupal

From novice to tech pro — start learning today.