Geoff,

Thanks for comments - will have a re-think over using the tree for news items, i agree that when there are hundereds of articles it could become a bit of a nightmare to maintain.

Chris.

Geoff Bowers wrote:


Chris,


I'm still not sure I understand this approach. It seems that after a few hundred news articles the whole system will become very unwieldly.

Objects could be related in a hierarchy by simply using an array of pointers. You could add an array property to events and news items that simply points to the parent article or articles. Contributors could have a search function to help them locate previous articles or whatever seems to make sense. When you need to render the relationship you just walk from object instance to instance chaining all the content together.

Just a thought,

-- geoff
http://www.daemon.com.au/


Chris Kent wrote:



Tim,


Thanks for replying.

The reason that I have gone down the route of putting the dmNews & dmEvents into the tree is to create heirarchical news stories. i.e a news story is entered and then at a later date a follow up or releated articles are added.

By ensuring that the dmNavigation is created for all content types I can use the included tree navigation functions to provide the user with the ability to see the "related" news stories as either parent, siblings or children of the current news story they are viewing.

I did look at using the content admin tab, but found that I would have to create so much functionality that was doing the same job as the Farcry Tree.

Hope that this makes sense,
Chris.

Tim Lucas wrote:


Hrmm what you need is a custom workflow object, eh, *wink wink*. Maybe you could sponsor Daemon to create such a feature for you and contribute it back into the code base?


You sure you can't just stick with creating news objects in the content admin tab and using publishing rules and templates to get your desired result?

-- tim

www.toolmantim.com

Chris Kent spoke the following wise words on 2/03/2004 9:28 PM EST:

For a site I am working on there will be many news contributors. I wish to ensure that they always create a dmNavigation object with all content added to the tree. To do this I am working on a small mod to automatically create the dmNavigation with other types. This will offer a simple one click option for content creators to add content whilst ensuring that they also create a dmNavigation object in the tree.












--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to