I've done Breadcrumbs (sorry, the website is not public yet).

I used the Fusebox method of organizing the CFAS templates.  www.fusebox.org

I put each Fuseaction in its own folder.

So, for example, /index.cfm is the Home Page

/HL/index.cfm lists Yellow Page headings (HL = List Headings), for example, 
all those that start with "B", and passes to /HL/LL/index.cfm that fact 
that the page request came from headings that start with B.

/HL/LL/index.cfm displays the name of all the "Beauty Shops", for example 
(LL = List Listings), and passes to /HL/LL/LO/index.cfm the fact that the 
page request came from headings that start with "B" AND a heading titled 
"Beauty Shops"

/HL/LL/LO/index.cfm displays the name, address, and telephone number of the 
beauty shop named "Hair for You", for example (LO = List Organization).

Each of the above 3 levels has enough information to create a Bread Crumb 
trail, with active links to any preceding level/page/fuse

This is the brute force way of doing it.  There must be a clever way.  I 
wondered how I might abstract the above and eliminate the need for multiple 
directories.  But I'm an engineer by training and experience, and we 
engineers are usually happy if we can find one way that works well.  We're 
even happier if we achieve transparency - even if it's tedious to create ;-)

I assume it's obvious that the exact same templates work whether the user 
starts with "A" then "Automobiles - New", etc, since all specifics are 
pulled out of a SQL7 database.  The Breadcrumb Trail displayed then changes 
with each different page request.

best,  paul

PS> Fuseboxers will note the directory structure at once does two things: 
(1) It implicitly defines the Fuseaction, and (2) It implicitly does the 
work of CFSWITCH.

At 10:15 AM 1/22/01 -0500, you wrote:
>I'd like to have a set of links at the top of my pages within an
>application that represent a trail to the user and how they could navigate
>backwards if needed. I'm wondering what standard and/or clever ways there
>are to go about this, and where the logic might go. For example, I've
>thought about the top of each page adding it's link as the user goes
>through, but this only works in the forward direction...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to