Steve,

I am doing a similar thing, using the categories to "drop" news content into sections within the navigation hierarchy. I am not 100% convinced that this is the best solution, as a news item could then be in more than one section, but i need to get it up and running quickly. Could confuse the punters.

I will probably revist this at some time in the future, but need to get this up and running..

Can be seen working at  http://66.165.109.122/drumonline/  The content of the Magazine and subsections are all News Items.

Still under development.

Collins, Steve wrote:
Geoff

  
The tree hierarchy is only a reflection of the dmNavigation objects. 
When you reference an object that is not in the tree or rather not 
directly associated with a dmNavigation object, it loses its 
positional 
context.
    

Okay, makes sense.

  
This is actually a good thing because these sorts of objects 
can appear 
anywhere in the hierarchy depending on their categorisation.  eg. your 
event might appear under several sections of the website.
    

Cool.  Now I need to understand how this might be done...

  
Luckily this is easy enough to manage.  The breadcrumb is simply a 
presentation layer widget that takes a navigation point as a 
parameter. 
 By default this is the parent dmNavigation object or 
application.navid.home if none is available.  You just need to pass in 
the objectid of the navigation point you want.
    

Would this be done more elegantly by using categorisation, as suggested
above?  It's something I've not delved into yet.  Some ideas or a
pointer to a HOWTO would be awesome.

  
Typically this is done in one of two ways:
 -- pass a navigation id from the parent on the URL (or other state 
management option) and pass this into the breadcrumb tag.  This allows 
you to retain the exact hierarchy of the tree
    

By hacking the calendar display, for example?

  
 -- pass in a specific navigation point, usually using a nav alias. 
For example, with events you might set up an "events section" on the 
website with an alias application.navid.events.  Then you could make 
this part of the breadcrumb regardless of where the event was 
originally 
linked from
    

Okay, now I have NO IDEA what you're talking about.  <cry>

  
You could even have a combination of the two -- eg if you 
can't work out 
the parent, or the url is truncated or something then default to the 
events section.
    

This sounds easy...  No I have to figure out how.

Any advice anyone feels up to offering will be gladly be accepted.  I'm
an old hand at CF, but new to FarCry.  I haven't had a lot of time to
get dirty in the code, so some of these concepts are a bit amorphous at
the moment.

Steve
--
Stephen Collins
Online Services
eBusiness Division
__________________________________________________
Department of Industry, Tourism and Resources 
Level 12, 20 Allara Street, Canberra City ACT 2600
GPO Box 9839, Canberra ACT 2601

E [EMAIL PROTECTED]
P +61 2 62137193
C +61 410 680722
F +61 2 62136227


**********************************************************************
The information contained in this e-mail, and any attachments to it, is
intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in
error, please delete it and notify the sender by return e-mail or telephone.
The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments.
***********************************************************************************



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