WordPress.org

Ready to get started?Download WordPress

Forums

The tree does not expand when root link is clicked [Plugin: WP-dTree 3.0] (23 posts)

  1. rkmissionashrama
    Member
    Posted 6 years ago #

    As of now, the tree expands when clicked on the + button.

    I'm just wondering how can I get the tree to expand when the link to the right of + is clicked while showing the contents of the links.

    I also checked out http://silpstream.com/blog (Christopher Hwang' site)which does not seem to have this problem.

  2. ulfben
    Member
    Posted 6 years ago #

    Turn ┬┤Open To Selection┬┤ on in the WP-dTree options page.

  3. bhamptonpuffinworkscom
    Member
    Posted 6 years ago #

    My tree won't expand at all (+ button or links) now that I updated from 3.1 to 3.2.

    Do I need to fix something in the wp_tree_cache table?

  4. ulfben
    Member
    Posted 6 years ago #

    1. Did you make sure to disable the previous version before upgrading?

    2. Make sure List posts are turned on in WP-dTree Settings-page.

  5. bhamptonpuffinworkscom
    Member
    Posted 6 years ago #

    >2. Make sure List posts are turned on in WP-dTree Settings-page.

    That did it. I had turned it off before running it once with List posts on. After the tree expanded with all posts, I changed the settings back to posts off and seems to be working now.

    Thanks! ...and thanks for all your recent hard work on this great plugin!

    I have one other question: I'd like to use your plugin strictly for categories, but I plan to have an awful lot in three category/subcategory levels: First(7 total)> Second(250 total)> Third(1000 total). Do you think the tree is capable of handling that many without a major slow down?

  6. ulfben
    Member
    Posted 6 years ago #

    The current (as of ten minutes ago) version of wp-dtree implements a counter that can tell you how much data makes up your tree. Check your page source and you'll see something like <!-- cat tree: xxxxxxx chars. -->

    Now, I've already got plans for the next release that'll drastically cut down on the size of the tree's. Primarly by removing a lot of currently redundant data and moving some of tree generation code to javascript.

    It's a lot of work though and the week have only so many days, if you know what I mean. :)

  7. bhamptonpuffinworkscom
    Member
    Posted 6 years ago #

    I spoke too soon! It appears Enable scriptaculous effects isn't working...when enabled, the tree will not expand.

  8. ulfben
    Member
    Posted 6 years ago #

    Well. What version of WP are you running? Make sure the scriptacolous library is avaliable at wp-includes/js/scriptaculous/.

    It's working well for me on WP2.3, IE6 and Firefox.

  9. bhamptonpuffinworkscom
    Member
    Posted 6 years ago #

    2.3 WP...but I am using the wp-scriptaculous plugin. Should we be on a new version?

  10. bhamptonpuffinworkscom
    Member
    Posted 6 years ago #

    Solved, I had the wp-scriptaculous plugin activated from an earlier wp-tree version. Deactivating it solved the problem. Thx, now get back to work on that new version! :)

  11. ulfben
    Member
    Posted 6 years ago #

    The new and improved WP-dTree is done. Please consider helping me improve (and continue to help you), by buying me a used book.

  12. auris
    Member
    Posted 6 years ago #

    Hello. My tree won't expand at all too.. all I see is open all | close all . Here is a screenshot of my WP-dTree Settings -> screenshot
    IE shows Error: dTree is undefined.
    I want to make my tree look like on this page link
    I am using this plugin like on the page mentioned above. Do I need extra plugins to get it work? I have latest versions of WP & WP-dTree.
    Sorry for my bad English.

  13. ulfben
    Member
    Posted 6 years ago #

    auris - can you link us to your site?

    Check your page source - see if the dtree javascript is correctly linked in. You're looking for something like:

    <script type="text/JavaScript" src="http://your.blog.com/wp-content/plugins/wp-dtree-30/dtree.php?witheff=true&amp;eff=blind&amp;effdur=0.5&amp;trunc=16" language="javascript"></script>

  14. auris
    Member
    Posted 6 years ago #

    here is a link to my WP Link

  15. ulfben
    Member
    Posted 6 years ago #

    Try switching to the default theme and tell me if anything changes.

  16. auris
    Member
    Posted 6 years ago #

    Still the same. Should I make sure if I didn't missed something to switch on <...> anything particular? B.t.w. my skype nickname is on site. I feel guilty for posting short and noobish replies in this topic ;) I Thank you for helping me out.

  17. ulfben
    Member
    Posted 6 years ago #

    This is very strange indeed. The tree data is obviously there, but document.write doesn't output anything. Not in IE nor Firefox - I haven't seen anything like it before.

    What platform are you hosted on? Windows or *nix?

    For good measure - try deleting the entire plugin folder and replace it with a fresh set of files. The javascript seems fine but you never know...

    Try running one of the previous versions and see if any of them work.

  18. auris
    Member
    Posted 6 years ago #

    Server is running on Debian. WP I've hosted on http://www.3host.biz free acc for testing purpose. (They seems to have problems with server. I am having difficulties with UL and DEL files there.)
    I did like you told me. It seems that nothing changed at all. Still waiting for response from 3host.com admin >_<

  19. ulfben
    Member
    Posted 6 years ago #

    Keep us posted please.

  20. auris
    Member
    Posted 6 years ago #

    I am not good on coding and schstff. I did followed your instructions. Well this plugin is superb, but on my page it's not working. I just have to live rough :D

  21. wpai
    Member
    Posted 6 years ago #

    I am using Debian etch with wordpress 2.3.3 and wp-dtree 3.3.2. I have the same problem like that of auris. The trees do not expand after clicking "open all". Perhaps this is a problem with Debian package because wordpress 2.3 is still an "unstable" package?

  22. Grif
    Member
    Posted 6 years ago #

    Yea, i can't get it to work either, i have a custom header.php so when i read this post i added
    <script type="text/JavaScript" src="http://your.blog.com/wp-content/plugins/wp-dtree-30/dtree.php?witheff=true&amp;eff=blind&amp;effdur=0.5&amp;trunc=16" language="javascript"></script>

    to header.php and it loadedwithout an issue, it was when i went to expand a link it spat out an error of something undefined on line 354 of the dtree.php

    wp 2.5 btw...

  23. solonavi
    Member
    Posted 5 years ago #

    I'm having the same problem, not able to expand when using "Enable scriptaculous effects". I've sort of zoomed down my problem to activation of another plugin, Flickr Manager v2.0.4.

    Any advise>

    Thanks
    JC

Topic Closed

This topic has been closed to new replies.

About this Topic