Actually, I think I should have waited a bit before posting. I spent some time looking through the code and got it all figured out. I didn't need to modify dmNavigation so much as modifying "_PrimaryNav.cfm". I already have a bunch of include objects in several sections of my application, but it seems that using the built-in nav is the way to go.
What I've done is to change qnav from the script that obtains the nav elements to my own query that retrieves my product lines from the database. I also altered the <skin:buildlink...> tag in the loop over qnav so that it appends my productcode id onto the url. This will allow my included object to display the drill-down in to each product line's groups. I'll use the "_secondaryNav.cfm" to enable the last level of drill-down to the collection level. That will link to another objectid which is another included object for product display... However, I'm still learning the intricacies of Farcry, so if anyone thinks I've made a mistake by doing it in this way, please let me know. Thanks a lot, Ferg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Mercer Sent: Tuesday, February 22, 2005 5:27 PM To: FarCry Developers Subject: [farcry-dev] Re: newbie extending dmNavigation Maybe have a look at include Objects - this is a way to interface to external applications from with in your farCry site. http://farcry.daemon.com.au/go/objectid/2527DA54-D0B7-4CD6-F91F02B89759F 7DF then you would do something along the lines of haveing one nav Node that is linked to you includeObj which then accesses your ERP - it can return stock groups, handle click throws to get stock items, handle orders on stock ... This will work really well if the ERP has an API. On Wed, 23 Feb 2005 09:32:07 +1100, Gavin Cooney <[EMAIL PROTECTED]> wrote: > I dont think extending dmNavigation is what you need really... that's > more for adding extra fields to the dmNavigation type. > > What exactly is it you need to do? Tell us about your ERP system... > you want to get your products from there? By query? Or would you have > a page already in farcry for each product? > > Maybe it's just me, but i'm not sure exactly what you're looking for. > Once I understand, i'll be happy to help.... > > Gav > > On Tue, 22 Feb 2005 16:19:49 -0600, Ken Ferguson > <[EMAIL PROTECTED]> wrote: > > I've just started to work with farcry and I went over Brendan's > > walkthroughs, but I am still a little fuzzy on a couple of things. To start, > > I'm attempting to extend the dmNavigation component to generate the primary > > nav to contain all of my product lines from my ERP system. Brendan addresses > > extending this component in the walkthroughs, but only lightly. I was > > wondering if anyone might be willing to share with me some code they've used > > to dynamically generate the primary nav in this way. I know I'll get this > > all sorted out, but I'm working on a real proof-of-concept type application > > trying to prove to my boss that farcry is where we need to be heading. To > > that end, I'm trying to get my site sort of recreated in farcry by FRIDAY!!! > > I've made a lot of progress, but I still have a long way to go in just a few > > days. > > > > Thanks, > > Ken Ferguson > > www.fitzandfloyd.com > > > > --- > > 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/ > --- 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/
