Beiträge von qurl

    griffon
    Actually I am interested... Just for kicks. :wink: Also it's good to try to bring my German back up to speed (a bit). Reading to be honest, I won't start writing. That would probably only be "quatsch". Thanks for your positive words about Dynamic Widgets by the way!

    exciter
    Widget Logic uses the same approach as Dynamic Widgets. And it is more flexible, but -here comes the down side- you have to understand and write programming code. From my point of view bloggers shouldn't need to write programming code. Bloggers should write articles. 8) But hey, that's a total different discussion.

    Hi there,

    Sidebar and widget id's are located in the array returned by wp_get_sidebars_widgets() as array( sidebar_id => array(widget_id) )

    Actually, I do know Kempen (by name). I've been to Duisburg a lot of times when I was working for an international internet service provider.


    Groet ("Grüße" in Dutch), Jacco

    Hi again,

    Yeah, I don't think it would be very usefull to let two plugins which do more or less the same job work with eachother.

    Ok, now about the collapsing and expanding widgets. First of all I'm not a JavaScript expert. But it can be done with jQuery.

    I've used slideToggle() in this example. You can also use toggle(). De number between the parenthesis is the number of ms to take before the action completes. You can also use 'slow' or 'fast' for example.

    There is a catch with this script. You have to know the id's of the divs. Maybe this can be done with JS. I don't know, that's my lack of knowledge of JS. I know it's possible to grab the id's with PHP as the id's are the same as the internal widget id's assuming you're working with the standard WordPress implementation of the sidebar(s) ;-)

    Grüße - from indeed the Netherlands -, Jacco

    Hallo griffon,

    I've had a quick look in the sidebar-generator source code and it looks like it takes over the sidebar implementation WordPress standard uses and Dynamic Widgets expects. So, yeah... it's very likely this is the problem Dynamic Widgets is not working. The new version won't fix that. The way sidebar-generator works is actually another approach of displaying and hiding widgets in the sidebar(s). The result is more or less the same.

    That brings me to the second part of your question re the way widgets are being hidden at http://ocaoimh.ie/ That's not the way Dynamic Widgets shows or hides widgets. It hides widgets in the background. Widgets don't just appear in the sidebar when the rules applied to a specific widget instructs so. The hiding and showing at http://ocaoimh.ie/ is more a theme related thing.

    Just for the record: I hope to release version 1.2 of Dynamic Widgets somewhere this week. I'm conducting the last tests.

    Last but not least: You're definetly using PHP5 now, so replacing the dynwid_class.php file was actually a bad idea in this case. The replacement file uses old (deprecated in PHP5) PHP functions.

    Gruße, Jacco

    Hello,

    My German is very bad, so I hope you understand I'll write in English. I'm the developer of Dynamic Widgets.

    When you get an error about the dynWid class, it's probably your host is (still) using PHP4. Up to version 1.1.1 the plugin does not support PHP4. However I do have a replacement file availabe which might solve your problem. Just unpack the ZIP and replace dynwid_class.php

    The next version (1.2) will have PHP4 support.