Should add tht WP-Tree has been working perfectly through multiple versions for me.
This is a new (to me) error which is not the result of a template or CSS change.
Hmmm,interesting
Uninstalled and went back to version 3.0, that did not fix problem
As a temporary “fix” (or at least, so it does not look amateur) I added an empty subcategory called “Introduction”” under the main category in the menu. That does not indent properly but the subcategories below it do, which is a slight improvement:
Table of Contents
open all | close all
[-} Parent Category (37)
Sub Category 1 (0)
[+} Sub Category 2 (7)
[+} Sub Category 3 (7)
etc.
http://www.gnosticshock.com/category/illustrated-gnostic-myths/
Still curious to know if anyone else has run into this. WP dtree is a fantastic plugin I’ve been using for over a year at least, how or why it suddenly started displaying the first subcategory under a parent as though it were another parent category on the same level i’m not sure but since this is such a great plugin I’d love to resolve so I can keep using.
Using YSlow’s inspect mode, from what I can figure out, WP-dtree generates classes like so:
div id=dc0, div id=dc1, div id=dc2, etc
It seems like whats happening is that divid=dc1 is consistently being displayed as a parent category in the WP dtree sidebar menu, whether or not it actually is
So if I actually do have a parent category as the second item in the Wp-Tree sidebar menu, then everything displays like its supposed to
Its only when I use WP dtree to try to display navigation for a specific section consisting of a parent category with multiple subcategories underneath it, that the plug-in messes up and displays the first subcategory as a parent category
Even though the menu does preview correctly in “settings”
hmmm!
Getting warmer
Turns out the plugin is
– applying div id=dc1 to 1st item in menu
– second item is inheriting that
– and then third item is styled via div id=dc3
So div id=dc2 is completely out of the mix – thus whatever the second item is in the WP d-tree widget will always display with the same indentation etc as the first item.
Hay hay!
Since you’ve tried re-installing the plugin and re-creating the category structure, I suspect this is a style (CSS) issue.
Try running the blog with the default theme and see if it works better. If so – read the second point here, for a quick method of locating the problem.
And thanks for the book! It is very much appreciated.
Hi Ulf
Many thanks for your kind reply
Per your suggestions I have:
1)turned off all plugins except for DP Tree
2)Switched to default theme
3)Created a new set of parent category/multiple subcategories for a new WP test menu
The odd thing is that WP-tree is continuing to display the new menu in the same way – it looks right in the backend preview but on the front end the first category displays as though it were a parent category to its “siblings” once the true parent category is unfolded
I am using Dreamhost so perhaps it is something about this host? not sure.
Hello
Further update : SOmething about the process / procedure I described above seems to have fixed this at least partially
Once I deleted test parent and subcategories, menu began to display again correctly
Now instead 1st of subcategory being treated as parent of its siblings it seems that 1st <i>post</i> inside of last <i>subcategory</i> is being displayed as though it were “parent” of siblings posts
So when you look at the unopened category or subcategories everything looks fine it is only when last subcategory is expanded that error is now seen
so it seems as though error is not specific to any given category or indeed type of item (can also apply to a post) simply, <i>it must display incorrectly either for first subcategory or first post in last subcategory</i>, for example adding new subcategories with test posts at end of menu list will introduce problem for more recently added items but “cure” for all those above it.
Odd!
SOLVED! I think…
I set up a 100% fresh Wp install, exported and imported my other site as an XML file, and installed WP-tree as the sole plugin:
http://www.1manwebteam.com/
Error appears as you can see – independent of other plugins, theme or CSS variables, category IDs etc
SO at this point I am thinking it must be something about Dreamhost…? Ok so not really solved but I have eliminated most other variables here I think, so either it is this version of wordpress (2.71) or else it is the server environment itself (LAMP) that is causing this plugin to misfire
Hmmm, its not inserting the 18×18 empty.gif before the first subcategory – this (and only this) is whats messing up the plugin’s menu display as far as I can tell
It would be interesting to test this plugin on a different server and see if the problem could be reproduced
Hello All
I set up a copy site (above) and sent Ulf login info so he could examine. Turned out WPp dtree worked fine from his end – he even sent me screenshot.
The problem (he thought) was Firefox itself – my browser.
Initially dismissed that advice but got bored this afternoon and pursued via google. Took mozilla hint and restarted FF in safe mode.
Lo and behold, not only is WP d-tree now displaying just fine but firefox is lickety-split faster now too.
Moral(s): 1) Sometimes its just your browser 2)Any donations made to this developer (Ulf) are much deserved!
Thanks Ulf! Resolved.