If you're using FU, then strip the "http://" off the front and the "/" of the back of the referrer, do a factory.oFU.getmappings()['strippedurl'] to find out the objectid (you'll have to process the returned string string a little more to get to the objectid), then do a getAncestors(id) etc etc....
There's probably a better way to do the FU -> objectid thang....
- tim
Simon Janssens spoke the following wise words on 26/10/2003 8:48 PM EST:
Hi Geoff,
I'd prefer it if the breadcrumb was based on the referrer.
Cheers,
Simon
Geoff Bowers wrote:
Simon Janssens wrote:
What I want to know is can custom objects have more than just home as their ancestor?
Yes. But by default the navigation hierarchy is determined by the dmNavigation nodes in your tree. Custom objects that have no parent Navid effectively default to the home node.
In my site you go down one or two levels then hit a custom object and the bread crumb only shows home and it's title?
It can be done. The approach depends on how you want the breadcrumb to work. Do you want it to assume the position of the referrer? Or a specific hierarchy for all objects of the custom type?
-- 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]
