Neil,

I don't think you read my last email all that closely -- it might be worth reading it again.

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

Neil Robertson-Ravo wrote:
Thanks Geoff, but I do believe that there must be a way of selecting / propogating the breadcrumb automatically.

Sure I could just outpu the information based on navalias etc, but this may be incorrect based on where a page is called from - as I may have a news story on varying locations.

I am intrigued to see what comes in a later build if at all..... I am sure I can work around this somehow, but for FC to automatically recognise its parent nodes would be good...;-)

Maybe passing it parent location to the dmNews object is an option?

N

Geoff Bowers wrote:


Neil Robertson-Ravo wrote:


now, this is essentially wrong, as it should read
Home / Resources / News / News Item One
Is this a bug or is there a way around it?



There's no bug here. Navigation is built from navigation nodes. There are several UI bits that rely upon the presence of nav node information to be able to build the appropriate menu, breadcrumb, whatever.


dmNews has no inherent navigation information as potentially it can appear anywhere. So you need to give it some positional information. Some ideas for giving positional information include:

1. have a central news location -- all news regardless of how you got there refers to this "news centre" -- like a News section of your site or something. Create a Nav Alias for that "news centre" dmHTML object and use that NavAlias in the breadcrumb of your dmNews template.

2. pass the navigational information to the news object on the URL. By passing the parent's nav id on the URL you can easily use this to construct a breadcrumb that is specific to the user's clickstream (their path through the site). If the nav id can't be resolved default to home page.

-- geoff
http://www.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