By flanderz on
I'm new to Drupal and obviously in over my head. I was experimenting with eliminating the $content region and now I can't see anything. I tried to restore it in my theme but I can't seem to get Drupal to refresh my theme change.
So two questions:
1.) Is there a reason why Drupal isn't picking up my changes (restoring $content) in the theme?
2.) Is there a way to go back to the bluemarine using MySQL? I tried the following but it didn't work:
UPDATE variable SET value='s:10:"bluemarine";' WHERE name = 'theme_default'
TIA,
flanderz
Comments
Theme caching
1) In older versions of Drupal, theme files were cached. The fix may simply be to navigate to /admin/themes, which forces the theme files to refresh. (This may not be true of 4.7 and 5.x, but it was true of 4.5 and 4.6).
2) If that doesn't work, you can edit the MySQL directly, as the default theme is stored in the 'variable' table as 'theme_default'. This value is a serialized string. Here's what PHPMyAdmin spits out for Drupal 4.7 to reset to bluemarine.
But this fix will only work if bluemarine is enabled. In the 'system' table, the status of 'themes/bluemarine/page.tpl.php' must be 1.
--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.
worked
Thanks agentrickard.
Visiting the themes section in the administer menu (and entering configuration mode for the my custom theme and saved it without changes - not sure if this is required though).
This worked for me to refresh the themes specified in the custom theme info file with drupal 6.1.