Forum OpenACS Development: Re: Ajax Drop Down Menues for XoWIKI

Collapse
Posted by Torben Brosten on
Malte,
I believe pages can be sorted by Section when using Xowiki book view. For example, note how Section 6.7 appears before 6.8 on https://openacs.org/test-doc/maintenance-web (xowiki version 0.116). Early versions appear to sort alphabetically by Page Title within a category. For example, "II.1 Structure / Mechanical" should appear before "II.2 Pod name" on http://lotusgreendatacenters.com/forge/xowiki/structure-mechanical (xowiki 0.60.3)
Collapse
Posted by Malte Sussdorff on
Hi Torben, I am aware it works in Book Mode, the question here was more if it was going to work in Categories mode as well, which did not seem to be the case but maybe I am wrong here. Going for book mode only would also be an option, though categories make more sense for the application I am looking for and I would love to only use e.g. 3 or 4 Pages as "teasers" and then sort the rest alphabetically afterwards. Though I am pretty sure noone has written that one yet 😊.
Collapse
Posted by Alvaro Rodriguez on
Malte,

Something like this was done in the Content package, it is based on xowiki using categories and page_order (Section) field, this way you can sort the pages inside a category. The navigation menu uses YUI Treeview.

I'm not sure if this is what you're looking for but perhaps you'd like to check it out.
Collapse
Posted by Malte Sussdorff on
Hey Alvaro, this sounds interesting, is there a demo where I can take a look? Even if it does not help with the Menus it might be helpful for content generation...

To demonstrate what I want, take a look at http://developer.yahoo.com/yui/examples/menu/topnavfrommarkup_source.html

Communication, Shopping, Entertainment and Information are "TOP Level" Categories, PIM Is a subcategory of Communication and the rest are pages, which I can order by e.g. the page section.

Collapse
Posted by Alvaro Rodriguez on
Right, the menu is different, this is content look, for the content generation I used the categories widget in the form, and then manage the pages using the page section.

Hope this helps,