WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP-dTree] How to force open Wdtree

[Resolved] [Plugin: WP-dTree] How to force open Wdtree

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author ulfben

    @ulfben

    What do you mean by “at the loading time”? The script must initialize before openTo can do anything.

    And opening to a specific node is done just the way you did. If it’s not working something is wrong. Please provide a link.

    I mean when I open the website, the node cannot open automatically, you can see the screenshot here http://imageshack.us/photo/my-images/27/democf.png/ and my website is http://www.bacsikim.com/ Please show me how to force the category to open automatically. Thanks

    Plugin Author ulfben

    @ulfben

    Ah. You seem to have found a nice little edge case. The category IDs are negated to keep them from colliding with the post / page / link IDs in the tree. The requested ID of course, is not.

    I’ll have to take a look at that for the next release.

    For now; try to set openTo to “-62” instead of “62”. If that doesn’t work, try using the category name: “Tin khuyến mãi” in this case I believe?

    I try using -62 and the category name but it still doesn’t work. I hope it will work in the next release. Thanks so much for your kind help.

    Plugin Author ulfben

    @ulfben

    My bad; I meant to say the category URL. Try using only category/tin-khuyen-mai

    Please let me know if that makes any difference. I’m working on an update for WP-dTree right now.

    it still doesn’t open the node when opening the site. I tried to use both Firefox 8 and IE9 but it still has the same problem.
    Thanks so much

    Plugin Author ulfben

    @ulfben

    Is there any chance that I could get FTP access to your site (the wp-dtree folder is enough) and an account on your blog? Email me at ulf at [my forum nick].com

    Plugin Author ulfben

    @ulfben

    Ah. I see it now. Disable Open to selection.

    The dTree correctly finds and opens to both -62 and category/tin-khuyen-mai when loading the script.

    But then – since you run with Open to selection – it tries to find the currently requested page in the tree. That’s your home-page, which means the tree closes all nodes again.

    Plugin Author ulfben

    @ulfben

    I fixed this in 4.3 – force open to always takes precedence.

    it works great now. thank you so much for your help. i’m sorry for late reply. you are very nice. thanks again

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: WP-dTree] How to force open Wdtree’ is closed to new replies.