[Plugin: Eletro Widgets] Conflict with Widget Logic (5 posts)

  1. murrayac
    Posted 7 years ago #

    To start off Widget Logic is a great plugin and I'd like to keep it. I'm using Eletro Widgets and it conflicts with Widget Logic. Is there any way of getting around this, details are below.

    Warning: Illegal offset type in /wordpress-mu/wp-content/plugins/widget-logic/widget_logic.php on line 125

    What's on line 125 of widget_logic.php
    $callback=$wp_registered_widgets[$id]['callback_wl_redirect']; // find the real callback

    This is the code in my template to activate Electro Widget
    <?php if (class_exists('EletroWidgets')) new EletroWidgets(); ?>

    Thanks in advance Muz!


  2. alanft
    Posted 7 years ago #

    I've had a good look at the eletro-widgets code (it looks like an interesting plugin and i'll actually try it out) and as it stands I *think* there's no way for it to work with widget logic.

    widget logic works by rewiring a widgets setup, both the widget's 'callback function' and the widget's 'parameters' which are normally passed to that callback function.

    EW calls the callback function for a widget (actually the Widget Logic intercepted function) but calls it with EW's own parameters rather than the widgets, which means WL has nothing to go on.

    currently all i can think of is an addition to the WL code that recognises eletrowidgets and lets them carry on, without applying any widget logic to hide it or not.

    if the author HackLab is up for it, we might be able to work out how to modify EW to make our plugins work together though.

  3. murrayac
    Posted 7 years ago #

    if the author HackLab is up for it, we might be able to work out how to modify EW to make our plugins work together though.

    I like the sound of that!

  4. leogermani
    Posted 7 years ago #

    Hi there!

    Sorry for the delay.

    Nice to hear that you enjoy and are using it (I would lova to have some links of sites using it). This was a very early experimental release (0.1 beta) because we wanted more time to write documentation and test it in different situations.

    I would certanly help to make eletrowidgets compatible with other plugins, but with the release of WP 2.8 and its new widgets API I think eletro-widgets must be refactored to this new reality. It will be great cause I love the ideia of all widgets beeing multi-instaciable.

    So I think Ill put my effort on making eletro-widgets compatible with this new API, and then we can test it again.

    By the way, anyone willing to help on that? please leave a message.



  5. leonardocx
    Posted 6 years ago #

    Oi Léo! Belo nome!
    Cara, é o seguinte...
    Eu estou usando o tema Thesis e gostei muito desse seu plugin, mas não descobri a forma de inserir no Thesis. Ele usa configurações próprias e daí não acertei por pra funcionar o plugin.
    Será que você pode me ajudar nisso?


Topic Closed

This topic has been closed to new replies.

About this Topic