Agreed, it's horrendous. I have used arrow images of varying lengths to format it slightly differently and, whilst not ideal, I think is much better, looks like this:-
I would still prefer to be able to use <ul> and <li> but this seems impossible at the moment, although I suspect Norman's PHP menu system could be adapted to reformat the sitemap! Nudge nudge, hint hint!
Clever trick David, i actually quite like the look of that, nice and neat.
I would add a hover state (colour change on the link) though, easier and more user friendly. Definitely the best V8 sitemap ive seen to date - nice one!
To be able to carry on using the <UL> <LI> method which we all used to use in v7 and prior, use the SectionLevel variable, which we found (cant find it right now), but place conditions based on level of section above with openning UL and then below with condition for closing UL and that does the trick, which is what was used on www.twoleftfeet.co.uk.
Sorry can not find the exact variables right now, but that was the easiest way we could find to achieve the same as pre v8.
Think I did read that post but only got so far with it. It's fairly easy to wrap the <ul> in SectionLevel variables and to close them afterwards, but no matter how hard I tried I could not get them to close in the right place if the list was nested (and using ListIndex if I remember rightly), as we would require on the Site Map. I probably wasn't following it properly. If someone could point me in the right direction I'm happy to see what I can come up with.
When you have a catalog with over 5k products, is there any benefit to the user via the site map as it stands?
We are currently concentrating on beefing up the search result layout and section controls using some conditional coding and variable placements. (Due for dev testing next week)
In our humble opinion, we think that over a certain amount, the site map just becomes unusable for humans (ok for bots tho so keep referring to it on your pages ) ...(pops on hard hat and runs for cover)
The sitemap list is very handy - I have used this recently as a main left hand navigation and styled with CSS to group each parent and their child sub-section into categories in distinct boxes ... all using lovely <a> tags for SEO.
This is one of the great benefits of v8 in-so-much-as you can use layouts designed specifically for one thing (such as the sitemap) but you can hack to use as something completely different ... often limited only by imagination / cunning (and a little luck at time )
Comment