Nev,

If you put the logic in a fbx_switch file and say someone has a store and then a store 
admin... the breadcrumb for the store will not be present in the store admin without 
manually coding it. It would seem you would listAppend the store from the store 
circuit fbx_settings. This would give you a root path to the successive circuits. A 
natural flow of breadcrumbs if your app is set up with this form of modular structure.

John Farrar

>>> [EMAIL PROTECTED] 03/26/02 12:23AM >>>
bleroux
 
At last, I can finally contribute something useful to the list :-)
 
Courtesy of the scribe - John at [EMAIL PROTECTED]  - I think?
 
fbx_settings: <cfset request.breadcrumb ="Home | home.welcome">
 
fbx_switch: <cfset request.breadcrumb = ListAppend(request.breadcrumb, 
"#request.pagetitle# | home.welcome", ",")>
 
And in the appropriate layout file:
 
<CFLOOP INDEX="thisItem" LIST="#request.breadcrumb#" DELIMITERS=",">
 
<CFIF LISTLEN( THISITEM, '|' ) EQ 2>
 
 <A href="#request.self#?fuseaction=#Trim( ListLast( thisItem, '|' ) )#" 
CLASS="breadcrumblink">#Trim( ListFirst( thisItem, '|' ) )#</a> |
 
<CFELSE>
 
 #Trim( ListFirst( thisItem, '|' ) )#
 
</cfif>
 
</cfloop>
 
Hope I haven't missed anything out...
 
Nev

>>> [EMAIL PROTECTED] 03/26/02 12:54pm >>>
Well, after migrating to a new box and purging my email list I lost the
emails with the ideas behind using the fusebox api for breadcrumbs.. 'I went
to topica to search for it but you all know how that goes..' <-- hrm..
another snippet for grok? ;) Anyhow.. any help with this topic *again* is
muchos appreciated- perhaps it merits a tutorial on the fusebox site?

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to