Page 1 of 1

Sitemap improvement diff attached

Posted: Mon Jan 14, 2008 7:38 am
by nivekiam
I was playing around with the sitemap feature and noticed that for nested levels, if using a delimiter, that the first item in a nested level didn't get the delimiter so you would end up with this:

Home
Sub-Home1
-->Sub-Home2

Instead of this
Home
-->Sub-Home1
-->Sub-Home2

I've attached a diff, I don't know if it's the best fix, but it works.  I've also attached 2 example images, one showing current behavior and one with the new behavior.

EDIT: helps if I actually attach the diff.

Also, this change adds extra delimiters for levels that are more than the 2nd level.  So level 3 will will have 2 delimiters to show that's it's below level 2.