Once you create sidecontent, you can never get rid of it.

This is because the update function checks if sidecontent == NULL and returns if it is.

This patch moves that check one line down, so it is after the old content is deleted, but before the new is added. This ensures that clearing the sidecontent block will stop the block being displayed on that page.

Very nice module, thanks :)

Comments

robert castelo’s picture

willmoy,
thanks, I've just applied your patch to the CVS of the module.

"Very nice module, thanks :)"

Glad you like it.

I haven't had time to use it much yet, so not yet as thoroughly tested as it could be ;-)

Planning to combine it with a slightly customised template to allow for something like this:

http://www.capdevco.net

Which currently uses an unwieldy combination of tables in the content column.

robert castelo’s picture