Forums

[Plugin: Widget Logic] Brilliant thing (12 posts)

  1. kjetilgf
    Member
    Posted 1 year ago #

    The Widget logic is just a brilliant little addon. When you first get the feeling about the code to insert (some examples on the plugin page) it give the possibility to make different sidebars in eg different categories or post - essential for using WP as a CMS.
    Now I'm just hoping for an update for WP 2.5 :-)
    Thanks
    Kjetil

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Posted 1 year ago #

    aw shucks - thanks for the ad :-)

    I *am* working on a 2.5 version (despite originally thinking there might not be a point) but am still stuck on getting it working perfectly with the new admin interface.

    I will soon be adding an unfinished 2.5 download to the 'other versions' downloads page in the hope that other talented WP people might help with the present shortcomings.

    I wouldn't normally do this, but I've had so many 2.5 requests, and i'm doing my head in trying to work out where it's going wrong :-(

  3. alanft
    Member
    Posted 1 year ago #

    I'm asking for help here. I've started a 'branch' of the code for a 2.5 version. Here it is:

    http://svn.wp-plugins.org/widget-logic/branches/alpha2_5/

    (Leaving the 2.3 version as the current stable and working version.)

    This alpha is distinctly experimental and works in most cases - except when adding a new instance of a multiple widget. the workround is to DEACTIVATE the plugin, add the multiple widget, and then reactivate.

    Not a great workround is it? :-(

  4. ozzywood
    Member
    Posted 1 year ago #

    I wish I could help, Alan, as I think this is a brilliant plugin.

    I'm crossing fingers nothing will happen to my blog, as the functionality is still there after the upgrade to 2.5!! My backup blog is a fresh 2.5 install, where Widget Logic doesn't work...

    Eagerly awaiting that new version!

  5. alanft
    Member
    Posted 1 year ago #

    i've had a bit of a breakthrough. in that i've found a way to make it work that involves hacking the main wp-admin/widgets.php code. now i have to work out how to patch it entirely within the plugin

  6. alanft
    Member
    Posted 1 year ago #

    DONE IT :-) now i just need to make it work with 2.3 and 2.5 code

  7. alanft
    Member
    Posted 1 year ago #

    consider the link to the code above to be a 2.5 only beta. if anyone would like to try it, and let me know how they get on.

    i've run out of time to work on it this weekend, but i'll come back to it before the week is out and get a proper release done. version 0.40 :-D

  8. kjetilgf
    Member
    Posted 1 year ago #

    Congrats!
    At least on WP2.5 it seems to work.
    The only thing I've found is that it won't cooperate with Daikos text widget - a text plugin that also allows php code.
    (And that the latest version still claims to be version 0.39 :-)
    Thanks a lot - I'll add in more comments if I discover anything.
    Kjetil
    PS No Paypal button on your site? Don't be shy!

  9. alanft
    Member
    Posted 1 year ago #

    i'll make it 0.40 when i'm happy that it's working fully both with 2.3 and 2.5

    BTW in the little testing i've done it looks like it's working ok with

    http://wordpress.org/extend/plugins/php-code-widget/

    which also allows arbitrary PHP code

  10. alanft
    Member
    Posted 1 year ago #

    i've updated branches/alpha2_5 again.

    it's now a little cleverer about checking the type of widget - daiko's text widget isn't quite fully converted to a 2.5 implementation, so instead of checking for the WP version i now check how the widget stores its params. which i should have been doing in the first place,

  11. alanft
    Member
    Posted 1 year ago #

    (I should have added - which gets round the daikos text widget issue)

  12. kjetilgf
    Member
    Posted 1 year ago #

    Works perfectly, as far as I can see. Great!

Topic Closed

This topic has been closed to new replies.

About this Topic