On Sun, 18 Mar 2007, Kake L Pugh wrote:
Anyway, while I was doing this I came across the question of these common categories/locales. When Nick put them in, Clair asked if they could be moved into the navbar, and Nick said he didn't want to do this, but didn't really explain why. I think they should be in the navbar. Semantically, they belong there; they're means of navigation, entry points into the Guide.
They weren't placed into the navbar for reasons of css control. If they were within a div with id=navbar, it became significantly harder to give different styling to these than the rest of the navbar.
One workaround might be to do (id names probably want to be better): <div id="navbar"> <div id="main-navbar"> .... </div> <div id="common-links"> .... </div> </div>
That way, you could choose to do all your styling on navbar (so they go together), or do no styling on navbar, and style main-navbar and common-links independently.
The other thing is that they should really be specified in wiki.conf, since (a) they should be configurable, and (b) they need to be run through the node_name_to_node_param method of the formatter before being plonked on the page.
Dom had a think about this, and I think decided we'd need to extend Config::Tiny, or use something else, to be able to do it properly. Dom - am I remembering you comments correctly?
Nick