Hi  Cody,

Actually "nested_tree_objects" will only contain objects of type
"dmNavigation" or "categories". If you need to get the children of a
dmNavigation node then you'll want to look in
"dmNavigation_aObjectids" which contains the objectids and sequencing
of child objects (ie. dmHtml etc).

That said...you don't really need to bend your mind around the Farcry
Db schema as the Farcry API makes it simple to access tree and object
data.

Have a look at the Farcry API online at
http://farcry.daemon.com.au/cfcdoc/ Particularly the "Tree" component
under "farcry.farcry_core.packages.farcry" The getDescendants() and
getChildren() methods should do nicely in your case :-)

HTH,

~tom


On Wed, 3 Nov 2004 15:21:35 -0800, Cody Caughlan <[EMAIL PROTECTED]> wrote:
>  
> I have populated my site tree with various standard dmHTML and dmInclude
> objects all organized under dmNavigation nodes. When I have a look at the
> database, particularly the "nested_tree_objects" table, the only objects in
> this table are of type "dmNavigation". Shouldnt all my other objects be in
> here as well? 
>   
> I am trying to draw my own dynamic navigation based on the tree structure in
> the database, but all I have access to are the dmNavigation nodes. My
> rendering code should be able to access and output any other standard pages
> (dmHTML, dmInclude) in there as well. 
>   
> Is there something I am missing here? 
>   
> Thanks in advance 
> /cody ---
>  You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
>  To unsubscribe send a blank email to
> [EMAIL PROTECTED] Aussie Macromedia Developers:
> http://lists.daemon.com.au/

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to