Closed (fixed)
Project:
Side Content
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 Jan 2005 at 13:23 UTC
Updated:
6 Feb 2005 at 17:04 UTC
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 :)
| Comment | File | Size | Author |
|---|---|---|---|
| sidecontent_clear.patch | 946 bytes | willmoy@www.civicspacelabs.org |
Comments
Comment #1
robert castelo commentedwillmoy,
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.
Comment #2
robert castelo commented