PDA

View Full Version : Disappearing Sidebar after upgrade



baadier
02-22-2010, 08:06 AM
My sidebar has disappeared after upgrading to 1.1. Their are other things being called from the same file and they work but the widgets are missing. I have ads and the quick submit script that Nick made recently in my sidebar around this call <?php $h->pluginHook('widget_block', '', array(1)); ?>.

It worked before upgrade and widgets are active in my plugin list?

Any ideas?

baadier
02-22-2010, 08:16 AM
false alarm, all widgets were marked inactive in my widget settings after the upgrade. @nick sorry for the wasted space

Nick
02-22-2010, 12:18 PM
No worries, there's actually a ticket (http://www.assembla.com/spaces/HotaruCMS/tickets/114-widgets-don-t-get-re-enabled-when-plugin-reactivated) open for this. It's not a bug as such, but it's not exactly user-friendly as you just found out. Unfortunately, it's quite tricky because when upgrading a plugin...

1. plugin is disabled
2. widgets belonging to that plugin get deactivated
3. plugin gets enabled
4. widget not enabled because we don't know if it was originally enabled. If we did enable it, we might turn on a widget that the admin doesn't want turned on.

We'll find a workaround eventually. :)