blank
blank
home
:: archives

:: categories

:: wp plugins

hosted by xg3
powered by wp
navigation by wp-dtree
bloggersg
badbehavior
© 2008, silpstream

Wednesday, 21st June 2006

:: WordPress-dTree

Introduction

This is nearly a complete re-write of the original WP-dTree plugin that I had wrote. It comes close on version 1.0's heel's because I wanted to clean up the code and get the rest of the functions into an easily used interface. As such I have increased the major code of this to 2.0. If you still want to use version 1.0 go here.

This version supports display of your archives based on either a yearly or a monthly tree, and also enables you to display a tree of your categories. The category tree can be displayed with or without their posts.

The native options of dTree have been included into this plugin now and is accessable through a new administration page from your admin panel. You will find it under the 'Presentation' area.

As of v2.0, scriptaculous support was also built in. This is optional and can be controlled through the option menu, so you may or may not want to use it. It provides four effects for tree animation: 'Blind', 'Slide', 'Appear', and Grow'. If you choose to activate this setting, you'll need to download WP-Scriptaculous from here.

For v2.1 I made some adjustments to the code so that pages using WP-dTree can pass XHTML validators. I also notices a few non-English users, so I adjusted the open/close all links so that they can be easily editted. Also new here is the ability for the menu to open to and highlight the page that a person has browsed to. This way you viewers always knows where they are in your site. Finally I've made the folder links optional so that browsing will only activate on post clicks not folder clicks.

New for v2.2 is the ability to generate page trees. Thus you can now display a tree with your main pages and their child pages. It supports multiple levels so the child pages can have other child pages.

You'll find an antipixel png file included with the download. If you do find this useful, please provide a link back to this page so that others can enjoy it's benefits also.

If you are feeling generous after trying this plugin out, please support my efforts through the donate link you see on my site. I've been cracking the code out as fast as I can in response to the comments everyone has made and obviously I do this on my free time, so even a small token amount is appreciated.

Let me know if you have any problems or find any bugs! Thanks!

Change Log

Version 2.2 (10 July 2006)
1. Added support for generating page trees
2. Added support for excluding specific posts from tree
3. Updated option menu
4. Rewrite of base code
5. Fixed support for tooltips on non-linked folders

Version 2.1 (24 June 2006)
1. Patch to work with Regulus theme
2. Ability to change open/close all link for none English users
3. Set folders as links option
4. Highlight current position in blog
5. Fix so that page can still pass XHTML validators

Version 2.0 (21 June 2006)
1. Support for scriptaculous effects added.
2. Category based tree menu added.
3. Option menu added to admin panel.
4. Support for dTree options was built in.

Download

WP-dTree version 2.2 has been downloaded 24261 times! (LATEST VERSION!)

WP-dTree version 2.1 has been downloaded 267 times!

WP-dTree version 2.0 has been downloaded 147 times!

Upgrading

1. Deactivate the old plugin from your WordPress admin console.
2. Delete the existing wp-dtree directory.
3. Follow the install instructions below.

Installation

1. Extract the files and transfer the 'wp-dtree' folder to your plugins folder.
2. Log into your admin panel and click on 'Activate'.
3. Goto the 'WP-dTree' option menu under 'Presentation' and set your preferences.
4. Goto the template file that you want the archives to show on and add in:

Displaying archives:

<?php
if (function_exists('silpstream_wp_dtree_get_archives')) {
  silpstream_wp_dtree_get_archives();
}
?>

Displaying categories:

<?php
if (function_exists('silpstream_wp_dtree_get_categories')) {
  silpstream_wp_dtree_get_categories();
}
?>

Displaying pages:

<?php
if (function_exists('silpstream_wp_dtree_get_pages')) {
  silpstream_wp_dtree_get_pages();
}
?>

They can be displayed at the same time if you like. Just add the relevant code in to your page.

Changing the Images

The images used are all stored in the 'wp-dtree/dtree-img/' directory. You can change them if you like. Just remember to keep the names the same if not you will break the script.

HELP!!!

While I don't use icons on my page, WP-dTree does have that ability. I can code but can't really do graphics. If someone would like to create some icon packs that I can incorporate I'd be very greatful. I'm hoping to have the ability for users to easily change icon packs. Any takers???


:: comments
Thu, 22nd June 2006

Oh man! You da man!
This is fabulous! You do great work Chris. I really appreciate the plugin update. You even included the readme.txt file :-) You’re a genius young fella…

What is your donation link?

Go have a look at it in action…www.idleminutes.com

The only thing I can imagine it would need now is “graceful degradation if javascript is off”.

Other than that, this is by far the best blog navigation plugin for archives and categories…and in my case, site navigation as well.

Thank you Thank you Thank you!!!


:: Don West
Thu, 22nd June 2006

Don,
Thanks for the complements! I didn’t quite get around to the donations link yet as I haven’t found a way to integrate it into my flash antipixels on the sidebar. I’ll be getting around to that soon enough.

I didn’t think of non-javascript support, but now that you’ve mentioned it… I’ll ponder it and see if I can find a way to get something in for a later release possibly.

Thanks again!


:: silpstream
Thu, 22nd June 2006

Hi Chris,
I think I found a problem. I’ve selected “display open all and close all” for both categories and archives but those links aren’t displaying. Is that the expected behavior if I also select “close same levels”?

Also, in category list, is there a way to make the link for each category simply open the child posts in the tree rather than act as a link to list all the category posts in the content window?


:: Don West
Thu, 22nd June 2006

Don,
The open/close all links don’t work with the close same level options. If you think about it they are contrary to each other so it is either or. As for the category, it is currently hard coded but I think I can add in options for that to the management area.


:: silpstream
Fri, 23rd June 2006

Makes sense.
Let me know if you are able to add the category change.
Thanks again!


:: Don
Fri, 30th June 2006

Thanks for the update. Works like a charm! I hope when you return to Singapore, you will continue to produce great plug-ins like this :-)
Best of luck to you!


:: Don West
Mon, 03rd July 2006

Hi Chris,
I just noticed that the category folders do not have tool tips. Is that something that could be added? Or perhaps make the character trim for the category titles such that it can be separate from the character trim for the actual post titles.

Most likely though, category titles could be long too sometimes. So maybe have both tool tips AND separate category title trim characters :-) Annoying aren’t I? I hope not :-)


:: Don West
Mon, 03rd July 2006

Quick question, I just implemented and activated the plugin, and entered if (function_exists(’silpstream_wp_dtree_get_categories’)) {
silpstream_wp_dtree_get_categories();
} into my template (home page) and all it does is display the actual code, and nothing else? Any ideas?


:: David
Mon, 03rd July 2006

Never mind my last comment..i fixed it with a simple php statement lol


:: David
Wed, 05th July 2006

Don,
I’ll see what I can do about the tool tips and truncating.


:: silpstream
Wed, 05th July 2006

David,
Glad you sorted it out. What was the solution by the way so that we can share it with others?
Thanks!


:: silpstream
Wed, 05th July 2006

Chris,
David didn’t place the plugin call inside a php tag. I made the same boo boo when I pasted the code from the readme or from here on your site. If you like, you could put the plugin call reference (in the install instructions) inside a php tag so when people copy and paste it, it will work without confusion. We php novices sometimes miss the obvious ;-)


:: Don
Wed, 05th July 2006

Before I installed this extension I was wondering if the collapsible categories display as Category->SubCategory or if it only displays the subcategories.

Also, you say that the category list can be displayed without the posts but can the archives also be displayed without the posts? I will probably try and install this later today but I was just wondering before I tried it. Thanks Chris!


:: Ryan Wagner
Wed, 05th July 2006

Ryan,
It will collapse to main categories and display all subcategories in them. Posts in the archives cannot be hidden as of now. I might look at this as an update later.


:: silpstream
Thu, 06th July 2006

Hi Chris,

How do I incorporate wp-dtree with widgets?

Thank you,
Soosan


:: Soosan
Thu, 06th July 2006

Hi Soosan,
Currently WP-dTree does not support widgets yet. I’m working on that, so you should find it in a future release.
Thanks!


:: silpstream
Thu, 06th July 2006

Can this work for pages? I have pages and subpages (children) that need this sort of navigation.


:: khurrum
Thu, 06th July 2006

Khurrum,
I’m currently working on a version that will allow for pages and their children. Stay tuned!


:: silpstream
Sat, 08th July 2006

Chris,

Yep, the solution was to include your code inside PHP tags, very novice mistake. However, I’ve come across something else that maybe you’ve seen before. My page is failing on validation checks and the errors being reported are from the javascript…any ideas?

Also, in IE, I always get an error icon at the bottom of the browser page (left hand corner) that I can click which brings up this error message (mind you, everything works so I’m not sure what is the problem..)

Line:3
Char:2
Error: Object Required
Code:0


:: David
Sat, 08th July 2006

David,
I’m not sure about the java error in IE. I don’t get that with my own page in IE so I don’t think it has to do with the WP-dTree plugin. What validators are you using? Let me know and I’ll see if I can get to the bottom of this!
Cheers!


:: silpstream
Mon, 10th July 2006

Chris, Thanks a lot for this new 2.2 version. I’ve upgraded my site without any problem and i already use the new features “page trees” and excluded pages.


:: MilleSabords
Tue, 18th July 2006

Hi Chris, David here again..yep, your code wasn’t the problem for the java errors :) It was something else. Although, I need to ask you since some of my writers are asking- is it possible to click on a category level and have the posts from that top level category show up as well as show the subcat’s? Right now, if someone clicks on a top level category and the top level category has 2 sub cats, no posts show up that exist in the top level category. Someone actually has to click a sub cat to display the posts. Is this doable? Thanks!

David


:: David
Tue, 18th July 2006

David,
Try turning on the ‘Folders are links’ option for categories. This should allow for the posts to show up when a category item is pressed. Also you may want to upgrade to the latest version as there are better functions and options.


:: silpstream
Fri, 21st July 2006

This looks really interesting. If this works as I hope, I will make a donation for sure. For me, the #1 most important thing is that the code validates perfectly and that it works even with javascript/stylesheets turned off… Going to try it now! =)


:: Andreas (theme coder)
Sun, 23rd July 2006

Hi Chris,i can´t exclude any page by id number they dont work. I’m using WP 2.03 the rest of the settings works fine.


:: Eladio
Sun, 23rd July 2006

Elaido,
I’ve not had any problems excluding pages based on their ID. You are getting the id numbers from the ‘manage’ -> ‘pages’ screen and putting them in as ID1,ID2,ID3? No spaces right?


:: silpstream
Sun, 23rd July 2006

Chris,yes i do so but they dont work


:: Eladio
Sun, 23rd July 2006

Eladio,
I sent you an email to follow up.


:: silpstream
Sun, 23rd July 2006

Hi Chris,
the probleme is solve i have write ID1,ID2 instead of 1,2 ,but only the ID number must be insert in the exclude field ,sorry my mistake.
Thanks for the fast support now all works like a charm


:: Eladio
Mon, 24th July 2006

Wow, awesome plugin!

The only thing that I would like is support for Links, so that I can put my links into collapsable containers that match what the archives look like. If anyone knows how to do this, please drop me a line via email. Great work silpstream!


:: Tom
Mon, 24th July 2006

Tom,
I’ll be working on a version that supports link when I get a bit of time. I’m in the process of moving from Toronto to Singapore right now, so can’t really code too much. You can be sure I’ll let you know when it is ready and you can download the update. Thanks!


:: silpstream
Fri, 28th July 2006

Hey Chris,
Any idea why i’m getting an error when I use your code? I get a “dtree not defined” error and it won’t list the categories? Thanks!


:: David
Sat, 29th July 2006

This is a great plugin! I am having one issue though (it’s probably something I’m doing. I am using the “Folders are Links” setting. Everything works as expected when I drill down through categories, but when I click on a post all the menu items close.


:: Bryan
Sat, 29th July 2006

Bryan,
You probably have ‘close same levels turned on. This will cause all other items to close except the selected item. Also remember to activate the setting for cookies so that the menu can remember its last state.


:: silpstream
Sat, 29th July 2006

The “close same levels” is not on. Where is the setting for cookies?


:: Bryan
Sat, 29th July 2006

Hi, i used ur dtree and i like it a lot. However, i found something very interesting. When i choose animation for the menu to be “slide”. When i start to open and close the links quickly for a few times, there will be a javascript error saying “could not get overflow property” and then the dtree will not be working. This will not happens when the animation for the menu is set to be “appear”.


:: sgsiaokia
Sat, 29th July 2006

I just checked it out and the cookie is being added to my browser. Any other possible ideas?


:: Bryan
Sat, 29th July 2006

I think it will be better if it use ajax tech


:: jfish
Sun, 30th July 2006

Bryan,
Try turning on ‘open to selection’.


:: silpstream
Sun, 30th July 2006

SGSiaoKia,
You a bit siao siao leh… I’ve definately not done stress testing like that ;p. It’s interesting to know, but my guess is that the issue is in the scriptaculous code since that is what WP-dTree uses for the slide.


:: silpstream
Sun, 30th July 2006

Jfish,
What sort of AJAX would you like to see in here?


:: silpstream
Sun, 30th July 2006

Open to selection is on.


:: Bryan
Sun, 30th July 2006

Here are some more details… When I first installed the plugin I didn’t realize that there were and - signs to click on. By chance they just happened to be the exact color of the background I was using them on. This did lead me to find something that I don’t think is working quite right. If I use the signs to expand the navigation everything is fine when I click on a post; however, if I expand the tree by clicking on the category and sub category links instead when I click on the post link is closes all folders in the navigation.


:: Bryan
Sun, 30th July 2006

I fixed the issue by adding “if (this.config.useCookies) this.updateCookie();” to the dtree.php file in the portion of code that is used to open the tree to a specific node.


:: Bryan
Sun, 30th July 2006

Bryan,
Thanks for this feedback and fix! I’ll look into the code and post the fix for the next release.


:: silpstream
Mon, 31st July 2006

Chris,
I fixed my problem. It was the template on my end. I had to add a to get things to work :)


:: David
Tue, 01st August 2006

Is it possible to specify the exact order of category & sub-category displayed? That is, can you specificy category order in the call function more specifically than ascending or descending by name/id in the presentation WP-dTree options?


:: Joshua Herman
Tue, 01st August 2006

Joshua,
Unfortunately there isn’t a feature like that nor do I expect to do so. The script takes the information for the database and can do a ordering. I’m not sure but I think that trying to specify an exact order would get to complex. I’ll give it some thought but I can’t promise anything. Cheers!


:: silpstream
Wed, 02nd August 2006

hello I was wondering if it is possible to display the postcount for the catigories/archives?


:: sum-1
Wed, 02nd August 2006

Hi Christopher,
thanks for your plug-in. Just have a little problem with changing the colors. On my page the ‘open all’ and ‘close all’ works fine. Categories I would like to have it in orange. For the rest, the mouse over in color orange as well, but it doesent work. May I edit these directly in the plug-in ?
rgds
Klaus
P.S. pls; use firefox when visiting my page, still some validations to do for IE. Thanks !


:: Klaus
Thu, 03rd August 2006

cool plugin!!! thanks for all, but…. I use fancytooltips in my site and it doesn’t work fine with your plugin, I can read “javascript: pge.o(2);” and not my alt text in your links, some solution?. This problems occurs in links with more links but in the other links only show the name’s link, not the alt.

I can see these problems in my site carballada.com, thanks in advance


:: Jose
Thu, 03rd August 2006

Is there an option for Archives and Categories where it will display the number of posts in parentheses after the links. Such as:
General (12)
Cool Stuff (9)
etc.


:: Jonathan
Fri, 04th August 2006

I installed this plug-in with the wp-scriptaculous. However, my wp-dtree does not show signs when there are sub-categories and sub-sub-categories. How do I get it to look like yours? It works in expansion and everything, but it doesn’t aggregate to the right whenever it is a sub-category or sub-sub-category. It all stays on the same row when expanded and that drives me nuts. What am I doing wrong? Is there something I need to add? Could it be the wordpress theme I’m using that is causing this?


:: Julie
Fri, 04th August 2006

Ok I installed this plugin and I am trying to put the tag to call it in a page? Is that possible because the only thing I see is the open and close buttons and I get a runtime error.

Ok what is wrong?


:: Billy
Sat, 05th August 2006

love the plug in! looks amazing, has all the features I want, and love how when viewing an article it expands out and highlights.
Only thing stopping me from using it is I don’t think Google can follow the links :/, unfortunately this is important for me and Search Engine Optimization.


:: Ma2T
Tue, 08th August 2006

Sorry everyone for disappearing. I just got back from a week in Phillipines, attending a funeral. I’m back now, so I’ll try to answer questions again. Cheers!


:: silpstream
Tue, 08th August 2006

Answers:
First off there is currently no support for post counts within the tree.
Second, I’m not sure about google and link following but I’ll look into it.
Jose and Klaus seems to have fixed their problem from what I can see.
Julie, I don’t have your URL so can’t help much as I want to see the problem. It could just be the option you choose so try fooling around with that.


:: silpstream
Tue, 08th August 2006

when i activated your wp-scriptaculous and wp-dTree plugins and made the necessary changes to my index.php, it returned with some php error codes. something about not being able to get info on some php tag. can tell me why? I have since removed that modified skin from my dir. I had it replaced with a backup copy.


:: Br0k3n Sh@rDz
Tue, 08th August 2006

Br0k3n Sh@rDz,
Could you let me know exactly what the error was? It is a bit hard for me to guess the problem based on your current explanation.


:: silpstream
Wed, 09th August 2006

Hi,
your are right, the problem is fixed. Anyhow, I made already some changes concerning colors on my page, but I had to leave the color fields in your wp-dtree configuration tool blank. Than it works like I wanted. It seems to me the css in my theme does not accept any partial changements forced through an plug-in. Well, I do not know exactly if this could be the reason, but maybe you can check it for yourself. Again, thanks for this plug-in and the other ones too; which are already in use on my page.


:: Klaus
Wed, 09th August 2006

forgot one thing: really like your ’submit’ field !!!! Do you have it as an plug-in as well ?


:: Klaus
Wed, 09th August 2006

You’re my GOD :)


:: ferran
Thu, 10th August 2006

Hi, I need a little help. I have the latest version of this plugin on my site and all seems to work except one thing. My site is protected with a name and password (.htaccess). Once I go to my site and login your plugin seems to reload the login window and will not show correctly untill I login a second time. How can I fix this please so I can continue to use this awesome plugin?


:: Billy
Thu, 10th August 2006

Ok I edited the dtree.php and set use cookies to false (on line 97) and it still asks for my login when I view my page. How can this be fixed please. I already have members complaining! HELP! (FWI: The tree lines will not show before I login a second time and I can not click on anything in the menu without the login window poping up as well.)


:: Billy
Thu, 10th August 2006

I installed the plugin on my wp blog and I don’t know why but there is an error, each folder (with its name) is really separated from the rest.

¿Anybody knows how to edit this?

pd. my blog on my nick.
pd2. i’m sorry if my english is bad, i’m spanish.


:: FerraN
Thu, 10th August 2006

Billy,
Could you send me your URL and a userid password for your site. It’ll be easier for me to look at the problem directly and try to help you.


:: silpstream
Thu, 10th August 2006

FerraN,
I can’t see the problem on your site since you seem to have deactivated the plugin. Without seeing it I can’t really tell what the problem is.


:: silpstream
Thu, 10th August 2006

Klaus,
The plugin I use is called ‘AJAX Comments’. I found it at WP-Plugins.


:: silpstream
Fri, 11th August 2006

Finally, the type of plugin I’ve been looking for. =) I’m curious if there is a sort of customisation that can be done?

Is there anyway to display only the child pages? I’ve got a lot of pages to arrange for an rpg, and I was hoping to have instead of a click’able parent page, it would act as a header rather than a link. For example..

As it currently stands:
OVERVIEW (link)
- introduction (link)
- f.a.q. (link)
rules (link)

How I’d like it:
OVERVIEW (non-link)
- introduction (link)
- f.a.q. (link)
rules (non-link because this particular page also has children)

I’ve been looking through WP documentation, but I’m not particularly strong with php. I’m thinking if there is some way to have a code snippet that I can post and specify the parent to which the children belong to.. it might work. Hopefully that makes some sense. Any suggestions?


:: Nyx
Fri, 11th August 2006

Is there a way to wrap the page titles?


:: Greg
Fri, 11th August 2006

Nyx,
You should be able to do this by disabling the ‘Folders are links’ option. It will make any page that has children expandable but not linked to a URL.


:: silpstream
Fri, 11th August 2006

Greg,
Unfortunately the titles cannot be wrapped but they can be truncated to a certain length. If a person puts their pointer over the title the entire title will show up.


:: silpstream
Fri, 11th August 2006

Hi,
I’m using this tree, but i have trouble with one WP_Theme : Vistered Little 1.VL1
It’s correctly working with my other themes.
- With VL1 it only display (open all | close all) nothing else…..
- but the code is present in the source. document.write is not working.

Any Idea? i’m thinking about a bug : two functions with the same name….too bad because this theme is really cool…and this plugin too….. arghh!
THX for your work


:: dginia
Sat, 12th August 2006

dginia,
I went to download the theme to try it out. It all seems to work fine for me. You can view it at http://www.silpstream.com/beta/. I think your problem is somewhere else. I don’t have your URL so I can’t really do much more to help you.


:: silpstream
Sat, 12th August 2006

Ok thanks for the help fixing my login issue. All works perfect now! NEXT what file and code line do I have to alter to change the color of the lines on the menu? I need the color different then the default.


:: Billy
Sat, 12th August 2006

Billy,
The colours of the lines can only be changed by editting the graphic files in the ‘dtree-img’ directory. It is not something that is controlled by the code. Use a editor like fireworks or photoshop and you should be able to do this. Just remember to keep the same file names or things will break.


:: silpstream
Sun, 13th August 2006

very nice plugin thanks a lot !


:: Eric
Sun, 13th August 2006

That’s a great plugin!!I love it~

I would like to ask a question.
I would like to know that how to add the number of sub-cats behind a cat.
eg. there is a cat known as ‘Cate’ which have 2 sub-cats, then it show up in the list as ‘Cate (2)’
Also I need this function for the pages and archive!![hope that this is not too annoying^^”]

Supprot your great work!! [And I am waitting for the links too^^]


:: PeterWong
Sun, 13th August 2006

Peter,
At the moment counts for pages, catgegories and archives is not built into WP-dTree. I’ve not figured out how to do it yet. As for links, I’m working on it, but have been caught up with other things for now. Thanks for the support!


:: silpstream
Sun, 13th August 2006

Ok thx for having tried the VL1 theme. Now that i’ve seen that it’s working really well, I’m working on it.
Thanks again for this.


:: dginia
Mon, 14th August 2006

Ok Colors all changed to match my theme THANKS AGAIN for all the great help! I think the line color adjustment needs to be in the next release please :)


:: Billy
Tue, 15th August 2006

I’m having an error in the wp-dtree_cat-functions.php. There is an invalid argument for foreach() on line 59. If I weren’t so ignorrant of PhP, I could fixx it, but the syntax is still new to me. Great plugin besides this, and I hope you can get it fixed for me (I don’t say that with a hope that it is possible, but rather, look forward to it being fixed).


:: Jeromy Boyd
Tue, 15th August 2006

Hi Chris,

Really great tool!!! Using it for a campaign website! (temporary address: http://www.mh-red.de/main/dir/peru/bergbau/startseite/). Changed the colour of ‘+’, ‘-’ and the dotted lines. One question remains - are you planning to adopt the tree for links as well? This would be a really good feature! Would pass some time until I could get my hands on it! Best from Berlin!


:: Mat
Tue, 15th August 2006

Jeromy,
I went to your site and can’t see the problem you are referring to. It seems the category tree is okay.


:: silpstream
Tue, 15th August 2006

Mat,
I do intend to build in support for links. I just need to get around to completing it and releasing the next version. Thanks!


:: silpstream
Tue, 15th August 2006

Aye, it somehow resolved itself. Perhaps my cookies / cache, but it corrected itself. It is an awesome plugin, two thumbs yo!


:: Jeromy Boyd
Wed, 16th August 2006

You know, an awesome addition to this plugin would be support for Author pages as well. Is that perhaps plaanned for in the future, or with aa little hacking of the code, is it possible now? Let me know.


:: Jeromy Boyd
Wed, 16th August 2006

Jeromy,
I’ve not actually thought about adding in Authors, but I’ll look into it to see how complex it is. I don’t think it is a simple hack that can be done right now though. Cheers!


:: silpstream
Mon, 21st August 2006

Great Plugin.
Two remarks: maybe you can make an option where you can choose to have “open all/Close all” at the top or the bottom?
I always have “Recent Posts”. Maybe you can make an extra Recent_Post Function?


:: Hans Bastiaan (The Netherlands)
Mon, 21st August 2006

Maybe it is possible to make the “Dtree” an sidebar widget? (http://automattic.com/)


:: Hans Bastiaan (The Netherlands)
Tue, 22nd August 2006

Cool plugin. I needed something like this but was hard to find until i saw it somewhere and contacted that blog admin and got this link.

Thanks.
I have installed it in my blog.


:: Chetan
Wed, 23rd August 2006

Best menu plugin esp. while you have a long-list cat/arch/pages, furthermore, if there is any way for it to be read and translated by multilingul plugin (gettext format), like Polyglot ???


:: Ronny886
Thu, 24th August 2006

Hi Cris,

Thanks a lot for the plug in, great tool and the one I have been looking for.
I have only one problem, if you look at my site, the plug in doesn´t seem to be taking the stiles from the sidebar.

I have installed the php code in the sidebar.php, but maybe I should put it somewere else?

I am using sandbox as a modified theme.

Thanks


:: Daniel Vareika
Sat, 26th August 2006

Ronny886,
I’m not sure what is invilved in the multilingual plugin. I’ll have to take a look and get back to you on it.


:: silpstream
Sat, 26th August 2006

Daniel,
I can’t seem to see the problem you have since you removed the plugin from your site.


:: silpstream
Sat, 26th August 2006

Chris,
I’m getting “undefined” where the tree should be. Reading the page source, the data is there but not displaying. Any ideas?
I’ll leave the script running so it gives you chance to see it
Thanks


:: John
Sun, 27th August 2006

Chris,

I’ve found the problem. I use Gallery 2 and already have a function called dTree which conflicts with your dTree!

I might revise your dTree function to be dwpTree, is this possible? I intend going through all the code and replacing calls to that function.


:: John
Mon, 28th August 2006

John,
Seems like you fixed things. Let me know if there are other problems.


:: silpstream
Sat, 02nd September 2006

hey,
can you do this with links as well?
expand link categories i mean?
the built-in link manager in wordpress works great

it would be excellent if i could have a uniform expand look from links to categories to archive.
cheers!


:: Johnny
Tue, 05th September 2006

What I have been looking for!! you are the greatest! will download this plugin when i get home from work in an hour or so!


:: Stian Domben BÃ¥rdsen
Fri, 08th September 2006

Hey, this is the plugin I’ve been looking for! I’ve downloaded the 2.2 version and activated it on the wp control panel, but I can’t see anything in the option menù. Could you pls help me?


:: Samu
Wed, 13th September 2006

Hi, very nice plugin, but i got a problem.

I want to skip a category and then show all, the problem is that the category i want to skip is the root for all the other.

I try to explain better.

I have a root cat that i’ll name a
I have other base cat b & c
And I have d and e that are a’s child.

I want to show directly only d & e, but if i can remove b&c using the func exclude, i dunno how to hide a on top, to let people to see directly a starting tree with d & e

Any idea how to reach this goal?


:: gh3
Thu, 14th September 2006

I have read through the comments and am having the same problem reported by Jonathan on Aug 4. I know you were gone at that time, and most likely just missed the posting, but was wondering what if any solution there was? The description he gave was accurate for me, so I am just repeating it:

“I installed this plug-in with the wp-scriptaculous. However, my wp-dtree does not show signs when there are sub-categories and sub-sub-categories. How do I get it to look like yours? It works in expansion and everything, but it doesn’t aggregate to the right whenever it is a sub-category or sub-sub-category. It all stays on the same row when expanded and that drives me nuts. What am I doing wrong? Is there something I need to add? Could it be the wordpress theme I’m using that is causing this?”

Thx for your help, love the plugin regardless.


:: Wijbrandus
Thu, 14th September 2006

Oops, guess I mis-read the original author, should have been Julie, whom you responded too, but were unable to view their site. Let me know if there is something simple to change, I have tried most of the obvious combinations in the settings


:: Wijbrandus
Fri, 15th September 2006

first off,
what a genius plugin. thanks a bunch.

i’m having a problem however.
it seems this plugin is intented to work only on sidebar modules, right?

well, my purpose would be to create a seperate tree being the content of a page.
my purpose; i’d like to offer several video downloads in a tree structured alphabetically.
how would i create it that using this plugin?

bear in mind,
i have almost no coding or programming knowledge.
would be cool if you could help.


:: posix
Sun, 17th September 2006

Hi Chris,
I would like to sort the postings in my categories in alphabetic order.
Do I have to change the template file in my theme or can I do it via wp-dtree administration panel ?
rgds
Klaus


:: Klaus
Wed, 20th September 2006

how do i create tables using this plugins to put them on a page?
i suppose this plugin only takes into account those predefined wp modules like categories, links, etc?

how do i do an independent tree like that?


:: posix
Thu, 21st September 2006

I really want to make this superb Tree plugin to work with my K2 skin which is the 3 Column K2 0.9.1. I had heard that it does not work. So I tried it. The Tree plugin got activated fine. But when I put the code in a template to display the Categories etc. in a tree, it shows just the code on the blog instead of the tree menu. Please please help Chris, I wanted to make a WordPress portal solely based on WP-dTree but I also want the LiveSearch and Rolling Archives option offered by the K2 Wordpress skin. Please make it work for K2. Eagerly awaiting your reply.


:: Hurry
Tue, 26th September 2006

Exellent plug-in — just what I was looking for!


:: Cleopatra’s Corpse
Wed, 27th September 2006

Hi Chris,
I do still have this question concerning the alphabetic order in my categories. I changed the settings but nothing happend. Would be very kind of you to contact me.
With best regards
Klaus


:: Klaus
Thu, 28th September 2006

LOOKS LIKE A BUG: The Open Selection and highlight feature does not work with the default permalink structure …/?p=123 but only works when I change to the Date and Name based permalinks like on your website. Unfortunately my Expand Comments plugin works only if I have the default ?p= permalinks. Please help to make the open selection and highlight in dtree work with the default permalinks also.


:: Hurry
Thu, 28th September 2006

Hello Chris,

I can’t excluse any categories, is there something special to do ? (i’ve tried with the given example ‘ID1,ID2,ID3′ and nothing happens). I’am using the last wordpress.

Thanks a lot !


:: Guilamu
Fri, 29th September 2006

Hello Chris,
I would like to sort my post un alphabetic order, is it possible ? thanks !
guilamu


:: Guilamu
Sat, 30th September 2006

Klaus,
You should be able to make things alphabetic if you change the sortby option for categories to ‘NAME’ then choose if you want it to be acending or decending. I can’t quite tell why that wouldn’t work for you as the sort is done as part of the SQL statement.


:: silpstream
Sun, 01st October 2006

You d’ont uderstand silpstream, categories works well, the pb is with posts inside categories, they are not well sorted.


:: guilamu
Sun, 01st October 2006

Hi Chris,
I did what you said, but it doesent work at all. Something block’s this function in your plug-in. I would love to use your plug-in, because I do not want create extra pages showing the categories which are already exist on my page. I will send you an e-mail with some more details concerning my settings, maybe there is a way to let it run.


:: Klaus
Tue, 03rd October 2006

I found a minor problem with the plugin today after installing it. I have choosen to hide empty categories. This causes a category with no post and a sub-category with a post to end up hidden. My temporary fix was to show all cats and then place the IDs of the cats to be exluded in the input box of the exclusion option. If there is an easy fix for this or I am doing something wrong please share. Thanks


:: Jesse
Thu, 05th October 2006

Im haveing a small problem with this plugin it seems to leave categories out of the menu when they are empty but have a subcategory with a post in it.

Is there a fix for this or do I have to manually tell the plugin to ignore the empty categories on my own.


:: Jesse
Fri, 06th October 2006

Chris,
absolutely beautiful work.
One question: how will the javascript affect SEO?


:: david
Mon, 09th October 2006

Hallo !
I got no error message and i had do this code in my sidebar.php:

if (function_exists(’silpstream_wp_dtree_get_pages’)) {
silpstream_wp_dtree_get_pages();
}
?>

But i don’t see this on my sidebar. I use wordpress 2.x with Relaxation 2.0 Theme, what make i false?!


:: thesavja
Mon, 09th October 2006

I have a problem with my WP-theme. The title are under the images. If you can take a look at my trying site http://www.netzlimbus.net/wordpress

Thanks a lot


:: cane
Tue, 10th October 2006

when folder are links, and click on it not open the subcategory (this does the plugin);
but in your site (top) in category wp-plugin, if I click on wp-dtree it is both : folder and link;
is possible to have this option in the plugin?


:: robs
Tue, 10th October 2006

small bug:
the highlight work only if one have activated the option:Folder are links.


:: robs
Fri, 13th October 2006

Thank you


:: magica
Sat, 14th October 2006

Ive been trying to leave a comment for about 2 weeks, Im not sure if your comments are still awaiting moderation and I apologize for the repeated effort towards a resolution of my problem.

I have categories which have no posts which have child or subcategories that have posts, when I choose to hide categories with no posts the categories are hidden along with their child categories. I would like to hide empty post which have no posts and no child categories with posts, But I would like to display categories with no posts and child categories with posts. Is this a known bug? Is there a known fix? Is this in the works to being fixed?

Please help this is one of the last major things I need to get working before I have all of the major quirks worked out of my site.

Thanks,
Jesse


:: Jesse
Tue, 24th October 2006

Hi,

Found this great plugin. I’ve searched very long fot such like this.
I want to use it to collapse/expand categories. I’ve tested it and it works great.
But I use widgets on my site and then the plugin doesn’t work.

I beg you……..can you make this masterpiece widget compatible?

Thank you so much


:: arjanv
Thu, 26th October 2006

Hi Chris, I think this plugin is wonderful. Just what I wanted and I’ve modified so that it opens folders on the right instead of the left. You can see it in action over at my blog.

I have on request (or question) tho. Is it possible for you to make it possible to order the categories within this tool? It would be nice if I can order my items how I want them to be.

Thanks again and good luck in Singapore!
-Tania


:: Tania
Thu, 26th October 2006

To Klaus and others trying to sort the posts alphabetically

If you are using “Sort by Name” and “List posts” options in the WP-dTree settings, the categories are shown in an alphabetical order, but the posts are shown in the order of their post date. You can show also the posts in an alphabetical order by editing wp-dtree_cat-functions.php.

Change line 57 in wp-dtree_cat-functions.php from

. ” ORDER BY “.$wpdb->posts.”.post_date DESC”);

to

. ” ORDER BY “.$wpdb->posts.”.post_title ASC”);


:: KalleK
Sat, 11th November 2006

My comment was deleted or something so I’m reposting it.

This is a great plugin.

I’d like to suggest the following:
a) add post counts - this has probably been mentioned before
b) add functionality for things like blogroll/links, meta etc. basically for anything that can have links.

Thanks.


:: Nathan
Mon, 04th December 2006

Hi
Seems to be a nice plug.
I wonder if you can have it to work with blogroll.


:: Ian
Sat, 09th December 2006

I was looking for 3 days for something like this and even consider to go for joomla, but now when I have this great tool I stay with Wordpress forever!
Great Plugin!


:: davor
Wed, 20th December 2006

I love it, many thanks.


:: Geoff
Wed, 24th January 2007

Superb plugin with great documentation, thanks a lot. Would love to see the menu fully sortable by order?

Cheers

Phil


:: Phil
Wed, 24th January 2007

Great, great work, man. I installed it on my site www.bittekunst.de and it perfectly fits the style-idea I got for this project: Not so obvious, simple layout, but clever when you use it. Thanks a lot! Best category-plugin far out.
David


:: David
Sat, 27th January 2007

Great plugin! Thanks.


:: Hayal
Wed, 07th February 2007

Hi, just upgraded to wp2.1 and found that the tree stopped filtering out pages, so added this code to the arc and cat functions under the child node select queries
. ” AND “.$wpdb->posts.”.post_type = ‘post’”


:: John
Wed, 07th February 2007

What I would really like to see (in a future version?) is for this plugin to do some kind of caching. Loading my blog (default kubrik theme minus Categories; only archives presented in the sidebar) requires 350> request. About 330 of them are done to populate WP-dTree’s list - on every pageview.

That’s a major - major - overhead, but I do really enjoy the smooth navigation dTree offers.

Unfortunatly the plugin isn’t free (as in freedom) so I can just hope mr. Hwang comes back from his internet hiatus soon.

Or perhaps someone knows of an alternative to this plugin?


:: Jake
Mon, 12th February 2007

Hi, I have been looking for exactly this kind of functionality for weeks! Thank you! Thank you! Thank you! Now I can really start my FAQ on dogs. I appreciate your work so very much. Let me know when you release a new version


:: Haim Dimer
Fri, 23rd March 2007

Great Work!!! Thank you very much


:: calvin