I'm developing a Drupal site for work - custom template and all. Everything had been going well until I realized that my theme name having a hyphen in it was not proper. So, I renamed the template folder, replacing the hyphen with an underscore (which on the Drupal 6 Theming guide, it says is acceptable) - and I did make sure to adjust the INFO file accordingly.
I uploaded the new folder with the underscore and switched the active theme to the properly labeled one. However, when I did this things seems to break completely in IE, and not just the theme, the block modules I had built were broken too (it seems as though the style sheets only partially worked on some aspects of the modules). On top of all this, for some reason the information on who published the front page, including time and date, was being displayed. Needless to say I am baffled - the theme in no way calls to display this information, ever!
I decided to switch back to the old theme (which is completely identical except for the folder name and info file). But the theme was still broken in IE, however, the information showing the time, date, and who published the front page was gone. Now my theme is completely broken and I don't know why....
Also, my template files for node types (i.e., node-page.tpl.php) no longer work.

Anyone run into any of these problems? The thing that really confuses me is why the "published" information would display on one theme and not the other, even though the template files are identical....

Comments

ultimateboy’s picture

Priority: Critical » Normal
Status: Active » Fixed

Changing a theme name can do quite a few things as theme override functions use the theme name in the function name. I would bet that the particular theme you are using has a template.php file with one or more theme functions. In order to correctly change the theme name, the folder, .info file, and all functions must be altered to the new name. You might want to do a global search for the old theme name in the theme's folder to make sure you got them all.

Marking as fixed, feel free to re-open if need be.

leafkin’s picture

Status: Fixed » Active

Thank you very much for the response ultimateboy. However, my theme is very basic and contains no theme override functions. Also there's a div with a class of "meta" that shows up now (the div is empty however), and I can't figure out why. It was not there before I switched the themes, but now its there, inside the containing node div, with both themes.

Here's a link to the broken one - it works in Firefox but not in IE: http://wwwdev.lib.ua.edu/

And Here's a link to one on my dev server that works in both IE and Firefox: http://libapp.lib.ua-net.ua.edu/~wjones/drupal/ (if you can't access this one then is means they're blocking traffic from off campus, I'll check into it)

I know this is a very obscure problem, so I greatly appreciate any help or suggestions.

Thanks :)

leafkin’s picture

Status: Active » Closed (fixed)

I've fixed the problem. Drupal was acting properly, I had made an improper move through some javascript. Thanks again for commenting ultimateboy. And sorry for posting a problem that had nothing to do with problems with Drupal... man, never thought I would be one of those posters, hehe.