• I wanted to contact you personally instead of using the forums initially in order to ask you a couple of questions that you may be able to help/assist with regarding the wp-dtree plugin.

    First, the site in question where we’re using it: https://www.simcomedia.com/handbook/

    The clients love the tree and its functionality. What they’ve requested is the following:

    1) instead of underlining the document being viewed they’d like it to have a yellow highlight
    2) they would like the tree to automatically update when the viewer selects another page using the Next / Previous links (right now the wp-dtree continues to highlight the last item clicked in the tree no matter what page the visitor is on). So, if they did not use the wp-dtree to navigate and used one of the other navigation elements the wp-dtree would recognize the page they are on and open/expand/highlight as necessary.
    3) If a category is clicked on in the site’s main navigation menu is it possible for the wp-dtree to recognize and expand that category accordingly?

    Item #1 is i’m assuming a matter of CSS which I can seek out and modify on my own. #’s 2 and 3 are a bit more tricky. Please provide your comments/thoughts on these and what it would take to accomplish. Thank you for your time.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi simco, not trying to jump this thread, but I see that you managed to sort the problem on the given example. Would you mind sharing the solution. Did you create individual menus or did you find a coding solution? I would be interested especially in #’s 2 & 3. Thanks [great plugin btw. ulfben!]

    Thread Starter simco

    (@simco)

    Actually I was able to reach Ulf and hired him to perform the changes. I’d be happy to share the end result with you if you’d consider sharing half the expense. The plugin contains all the modifications within itself so there wasn’t anything that was external to it. Let me know if interested.

    Ah, I see! Thanks for the kind offer, simco. I was purely interested in the ‘beauty of the code’ not in the ‘commercial aspect of things’. I know that the plugin contains a small ‘bug’ when the installation is not residing in the expected ‘root’ directory and was simply interested in your approach & solution. Maybe this will be fixed in a future release and that is probably what ulfben ‘fixed’ for you. Thanks again.

    Thread Starter simco

    (@simco)

    Actually, turin, those 3 things I described in my initial post are what he customized for me. Those are not standard behavior, where the tree opens and shows the location even if you use a different menu to arrive there. The plugin didn’t have any ‘bugs’. If it’s the ‘highlighting’ instead of the underlining of the location then that was just a cosmetic thing.

    For you to really understand what he did, go back to the site and use the main drop down menu under Chapters to navigate and you’ll see the tree responds to each click.

    I’d be interested on how problem 2 (show actual site even if page was chosen via other menu) was solved. I might give in on sharing expenses.

    Thread Starter simco

    (@simco)

    Thanks for your interest. Honestly, if I knew how it was done then I would have done it myself. ?? Basically that portion of the mods we had done was in modifying the javascript file so that it would identify the page using most likely a GET trigger that then matched it with the location in the menu. But, in doing so it had to match the seo friendly permalink to the actual article ID.

    Another part of the equation is we modified the main dropdown navigation to show only chapters, no articles. So, if you mouse over the Chapters menu you’ll see nothing but more chapters. Only when the visitor reaches the final sub-sub chapter does the page display articles. But, the tree follows each click through the chapters and opens accordingly. Pretty cool if you ask me.

    The tree mods don’t have anything to do with the chapter menu modifications but the tree should respond to however your menu is set up. As I mentioned, i’m glad to ‘share’ it but it cost a fair amount to have the modifications done. So, essentially you’d be getting it a half price. Let me know if interested. Thanks!

    Hey Ulfben,

    as I still have the problem 2 mentionend above and you provided help for a donation, please let me know how to contact you (your homepage really didn’t show me any hint?).
    I really want to see this plugin do show the actual page, even if not selected via the tree.

    Thank you!

    If your WP installation is not residing in the expected ‘root’ directory the plugin won’t work ‘out of the box’. Put it there and it will [see my comment above].

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP-dTree] Questions on auto-highlighting and navigation’ is closed to new replies.