1
Hi -
I'm seem to be losing a block, when I reload a module. I see this on the output from the reload:
Block Bookstore: Titles deleted. Block ID: 563
Block template bookstore_title.html deprecated.
Then when I hit reload again, I the block is just not listed at all in the output from reload.
The block definition looks like this:
// Blocks
$modversion['blocks'][0]['file'] = "bookstore.php";
$modversion['blocks'][0]['name'] = _MI_BOOKSTORE_TITLES;
$modversion['blocks'][0]['description'] = _MI_BOOKSTORE_TITLES_DESC;
$modversion['blocks'][0]['show_func'] = "b_bookstore_show_titles";
$modversion['blocks'][0]['template'] = 'bookstore_title.html';
// options: max title length displayed |
$modversion['blocks'][0]['options'] = 16;
$modversion['blocks'][1]['file'] = "bookstore.php";
$modversion['blocks'][1]['name'] = _MI_BOOKSTORE_COVERS;
$modversion['blocks'][1]['description'] = _MI_BOOKSTORE_COVERS_DESC;
$modversion['blocks'][1]['show_func'] = "b_bookstore_show_covers";
$modversion['blocks'][1]['template'] = 'bookstore_cover.html';
...
and so on.
There are no other occurances of ['blocks'][0] anywhere in the file.
Any ideas where to start?
Thanks,
Tom