Assuming you use directories to delineate sections fo the site, each
include (breadcrumb.cfm) would look something like this:
<cfinclude template="../breadcrumb.cfm">
<cfoutput>
> <a href="" name</a>
</cfoutput>
The advantage of this is that if you change any given breadcrumb link
it will automagically update all pages in your site without having to
edit lots of different templates.
Something similar can be used if your templates are structured
differently, but then all you have to do is include the breadcrumb
template for the current page where you want it.
If you'd like something a bit more structured, have a glance at this
article about how it's done in the onTap framework:
http://www.turnkey.to/ontap/docs/blog.cfm?netaction=view&blogdate=2003
-09-19
hth
s. isaac dealey 972-490-6624
team macromedia volunteer http://www.macromedia.com/go/team
chief architect, tapestry cms http://products.turnkey.to
onTap is open source http://www.turnkey.to/ontap
> Good Day,
> Does anyone have any code for breadcrumbs in Cold Fusion.
> If so and possible may I have a sample of that code. I
> would like to use breadcrumbs with Cold Fusion in my site.
> Thank you.
> Deetra Whatley
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

