Jörn Nettingsmeier schrieb: > Andreas Hartmann wrote: >> Hi Jörn, >> >> Jörn Nettingsmeier schrieb: >>> andreas, i've just taken a look at the lenya docu publication on zones, >>> and it's very neat. i'd like to know how you did the "section header" >>> pages like "concepts", "tutorials" etc. they don't seem to be documents, >>> rather sitetree nodes without associated documents, and clícking on them >>> just activates a javascript toggle function. >> >> they are sitetree nodes without UUIDs and therefore not pointing to >> documents. The menu.xsl handles these nodes in a special way. >> >> The API doesn't yet allow to remove site node UUIDs. I have the changes >> in my local workspace. Maybe I'll commit them after the release. > > i think those "section header" nodes are a rather basic function for > content management systems, so if your change is not overly intrusive, > i'd say let's sneak it in.
I'd rather take some time to think about it, at the moment it is probably not a well-designed complementary set of methods. And I'd like to write some test cases before I commit it. > but maybe it's cleaner to have a special > doctype for this rather than do sitetree magic? then the menu.xsl would > need to find that information somehow and just create the appropriate > javascript. I also thought about this, but I didn't see a real disadvantage of sitetree nodes which don't have UUIDs. IMO this is more straightforward than introducing placeholder documents, and it was much easier to implement. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
