how to show hierarchically wiki articles as widget

hi

can’t setup widget to show wiki articles hierarchically, scenario.

wiki entry 1

subwiki entry

subwiki entry

wiki entry 2

subwiki entry

subwiki entry

it i for easier navigation. like for a documentation pages for developers.

  • Vaughan
    • Ex Staff

    hiya

    thanks for posting.

    you can select the menu order for each wiki in the attributes i believe.

    so assigning them to parents and so on, then select menu order/order created.

    so when you create the wiki, you select the order in the attributes.

    if you have 4 parent wikis

    for each parent you'd set the order as 0 – 3

    then each parent will be listed in that order.

    parent 1 (order 0)

    –sub wiki1 (order 0)

    –sub wiki2 (order 1)

    –sub wiki3 (order 2)

    parent 2 (order 1)

    –sub wiki4 (order 0)

    –sub wiki5 (order 1)

    –sub wiki6 (order 2)

    parent 3 (order 2)

    –sub wiki7 (order 0)

    –sub wiki8 (order 1)

    and so on..

    is this what you mean? i don't think there's another way of doing it other than changing the date of the wikis which would change the order based on when they were created.

    hope this helps

    [attachments are only viewable by logged-in members]

  • Norbert
    • New Recruit

    ok. looks good starting point, although design is not changed still flat list appear. if drill into html no special classes for child items.

    ideally i want to look and fell like in confluence where users should navigate in dynamic expandable/collapsable menu

    my outstanding question

    1st. is there any recommended way to style that tree noc css class found in html…?

    2nd is there any recommended way to get the tree dynamic (exp/collapse)

    norbert