1.5 Block Updating

1.5 Block Updating

by Michael Penney -
Number of replies: 1
Just got done updating the Navigation Block for 1.5, thanks to Jon's excellent guide (HOWTO.html at  /blocks/ --thanks Jon!), it was pretty easy.

Except for one thing, when one switchs between weekly format and topics format, the block is deleted. Is this expected behavior with function applicable_formats(), or is there something I can do to have the block stay in when formats are switched (when both formats are part of the applicable formats list)?

Thanks!
Average of ratings: -
In reply to Michael Penney

Re: 1.5 Block Updating

by John Papaioannou -
Nice to hear you found it useful. smile However the guide is currently once more slightly out of date (I hope for the last time mixed), the main change being that if we 're talking about a "list" block you have to inherit from block_list instead of block_base.

The block getting deleted when the two formats are in the applicable_formats array is a bug. Thanks for the report, I 'll take a look.

Jon