ScottishBullet wrote:

Hi Gary,

Thanks so much for your post.  Let me say first that after looking at a
number of cms apps I was drawn to farcry for a number of reaosns and think
it is a great product.  One of the main things I love about it, is that it
is Coldfusion.  I started with CFMX early this year with Cartweaver by
Lawrence Cramer.  I'm not sure if you are familiar with it.  Anyway, I fell
in love with CFMX and after doing both PHP and CFMX sites, I much prefer
CFMX.   I'm still very much a beginner in CFMX so please be patient.

What I'm looking for in terms of navigation is like waht I see below.

http://www.promadis.com/

http://www.aftrs.edu.au/index.cfm?objectid=2DA604AF-D0B7-4CD6-F9038D02A2D8B4F6

http://www.cbs.curtin.edu.au/business/courses/high-school-students

I understand the structure of the Admin side, but I'm not sure how to take
that structure and actually do what I want with it.  Of course it all needs
to be db driven since that's basically all I do now. My question is not so
much the javascript or anything like that but the CFMX stuff that draws out
the required structure.  Does that make sense?  Even if you can point me to
which document might explain this.


I am yet to write a tech note on the nested tree model but you can browse the tree functions which may give you an idea of how the tree works:

http://farcry.daemon.com.au/index.cfm?objectid=EFC703DE-D0B7-4CD6-F91D150353E2E931&mode=detail&component=farcry.farcry_core.packages.farcry.tree

The most basic method of the tree is getDescendants. You will no doubt use this a lot. This will return all the child nodes to a certain depth. To call it look at the farcry_aura/webskin/includes/_primaryNav.cfm

This will return a query object with the navigation under the home node to a depth of 1. If you want drop down menus, you will need to increase the depth to 2 or more. Do a dump of the query object returned and you will see all the children listed, along with their objectid's and depth.

I hope that's enough to get you started.

-Brendan
http://farcry.daemon.com.au

---
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