I have modified Greenthing - a 4.x theme and got it working nicely with Drupal 5.1 but apart from one thing. - Blocks.
The blocks show in the right hand column and I can use the admin interface to turn them on/off at admin/build/blocks - however they *dont* actually turn off! Its wierd - its as though drupal is caching the column - or at least the settings for it. So I emptied all the cache tables and turned off caching just to really make sure... but to no avail.
As an experiment I edited one of the custom blocks that were showing up (but turned off on the admin page) and hey presto - it showed the changes.
For my next trick I went and edited the theme (php template) file to remove the sidebar:
<?php if ($sidebar_right != ""): ?>
<div id="sidebar-right">
<?php print $sidebar_right ?>
<br class="clear" />
</div>
<?php endif; ?>
and once deleted the whole column didnt show.. (So Im not going mad..!)
So for my next option I take a look at the database table blocks - and this is what I find..
SELECT *
FROM `blocks`
WHERE theme = 'greenthing'
AND STATUS =1
- it returns a lot more (8 rows) than what is showing at admin/build/blocks (0 items turned on to show in either column) - so what's going on? Where on earth is admin/build/blocks saving/reading its data from?