John P . Looney wrote:
> On Tue, Feb 27, 2001 at 05:51:20PM -0500, Enrique Vega mentioned:
>
>> If I may presume to give advice on the type of code needed for navigation, I
>> would like to suggest creating separate code for the following standard
>> navigation:
>>
>> 1. web site code which displays an index of:
>> a. all pages
>> 1. sub pages
>> b. all topics
>> 1. sub topics
>> c. all articles
>> 1. individual articles
>> a. include the ability to add field information
>> 1. ie; author name, address, from person record
>> d. forward, back, & top links for pages, topics, & articles
>
>
> What I would love would be a threaded news index. So that you would see
> soemthing like:
>
> root topic
> --- top topic 1
> \-- sub topic a
> \-- sub topic b
> \-- sub topic c
> |-- top topic 2
> \-- sub topic a
> |-- top topic 3
> \-- sub topic a
> \-- sub topic b
> |-- top topic 4
> \-- sub topic a
> \-- sub topic b
>
> And then clicking on something like sub topic b (in top topic 3) would
> show;
>
> root topic
> --- top topic 1
> |-- top topic 2
> |-- top topic 3
> \-- sub topic a
> \-- sub topic b
> \-- article 1
> \-- article 2
> \-- article 3
> \-- article 4
> \-- article 5
> |-- top topic 4
>
> etc. It's something I'll work out how to do myself, over time. But to be
> honest, it's the sort of stuff I thought midgard would have shipped with!
look at the tree snippet in /Asgard/Classes/Tree, it does exactly what
you're describing here, for any kind of object.
Unfornunately, it's not documented :(
> Kate
--
Best Regards,
David Guerizec Free Software Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]