I added a theme (Wabi) to my site yesterday, then edited the CSS file a bit to tweak the column widths.
One module I have is the "Print" module, which allows you to create printable html or PDF versions of a page. I had the PDF option on a few pages. After installing this theme and editing the CSS, I noticed that the PDF version of these couple of pages was coming out funny - the PDF displayed the text in one long, skinny column, so it took multiple pages to display the whole thing. I'm not sure whether the theme itself caused this, or my editing of the CSS.
Thinking I had somehow screwed it up with my column widths, I reverted the CSS file back to the original (I had saved it as a backup.) It didn't fix the PDF. I switched to the Garland theme, and the PDF worked fine.
So I tried removing the whole Wabi theme, then re-installing it. I made sure to re-download the whole theme in its original format from drupal.org, then upload it to the server. This is one of those "colorable" themes, where it lets you choose different colors on the configure page. I was surprised when I added the theme and enabled it, that it had somehow "remembered" the colors I had previously chosen, in addition to remembering my block placement.
The PDF thing still isn't working, but I'm concerned that the Wabi theme has other files floating around on the server somewhere that I didn't delete the first time around, and that's why the problem is still occurring, and why the theme remembered my colors and blocks. But I looked all around the server, and didn't see any other files showing yesterday as the last-modified date - and yesterday was when I first downloaded and installed Wabi. Can anyone advise me on how to remove the Wabi theme, and remove any files that it may have created elsewhere?
The first time I installed it, I put it in the "themes" directory. But then I read the README file, which said to use sites/all/themes - so that's where I installed it the second time. But either way, I can't see any other files related to this theme, other than the one directory I installed it in.
Comments
it may not be extra files,
it may not be extra files, but database settings. the color module may have a database table where it stores the settings for each table (I have never used color module, others will have to confirm).
I know for example, that each theme creates records in the {blocks} database table which persist after the theme is deleted, and when the theme is reinstalled, Drupal will 'remember' (based on db records) where your blocks were located for that theme
Thanks, nirbhasa, that make
Thanks, nirbhasa, that make sense!
Based on that information, I'm thinking that it was not my CSS edits that caused the problem with the PDF page. Maybe the Print Module just isn't compatible with the Wabi theme. (I just wish I had checked things out before editing the CSS, because I'd like to be 100% sure.) But I'll check the pages for both the theme and the module, to see if they list any issues/bugs that may address this. Thanks again.
So the question still remains?
How to completely remove a theme? There doesn't seem to be a pm-uninstall for themes, or some other auto -clean up method. Is there?
After disabling a theme on my site I greped a dumped version of my database and found occurances of the the disabled theme all over the place. Specifically in these tables:
blocks, boxes,content_type_webform, menu_links, menu_router, node_revisions, search_total, system, theme_paths, users, variable, watchdog, and webform.
Granted some of these are because of similar strings and not exact theme name matches but I guess I'll have to manually delete them from the database??? Bummer.