Thread Starter
nnoah
(@nnoah)
Referring specifically to the “widget-logic” plugin.
I didn’t realize this was going to end up posted somewhere with no context.
THANKS! i am such a LAZY coder, eh?
i will FIX and update soon. however my broadband is off at home at the moment, and i don’t think i can SVN from work 🙁
i have updated the repository and 0.31 should appear soon. it’s a small change, but i needed to change the plugin home page too. either way. ‘resolved’
Great! The final brick needed to use WP as a CSM – with different sidebar contents on different categories’ pages. Works well on WP 2.3.3. Hopefully also on 2.5. Thanks!
i tried it on a clean 2.5 install and it’s going to take some work to make it compatible with the new admin interface 🙁 (though on the + side i’ve worked out a better way of adding the extra admin control that is JS free)
i have hacked together a version that works on 2.5. But I need to make it work with 2.3 too now!
This is so great. Where can I download the v2.5 compatible one? Thanks
i haven’t had a lot of time to get 2.5 version working – it goes awry with ‘multiple widgets’ (text, rss and so on) cos i haven’t quite got my head around how the admin interface works with those – and i think there may even be bugs in it.
i am heartened that people think it would still be of use in 2.5 as the new 2.5 widget interface allows you to setup large numbers of sidebars without getting cumbersome, which I thought sort of makes WL redundant.
So yes I WILL get it working on 2.5, but I might have to release a ‘can you help me fix it’ version cos i spent quite some time puzzling it out so far
The whole multiple widget thing is way different in 2.5. I had to rewrite my php code widget to use the new methods.
You can examine this code here if you need an example of a working multiple widget:
http://wordpress.org/extend/plugins/php-code-widget/
cheers – i’ve been looking in the 2.5 code too at the built in widgets, but that will be helpful to compare.
there’s something going odd in the text widget IDs with very large numbers that aren’t sequential and i haven’t worked out why (this is the main thing i was alluding to when i thought there might still be bugs in the widget admin code)