I've posted an example and download here:
http://www.agentvow.com/traverseTree/

Let me know if you have any thoughts or improvements.

-Brad
  -----Original Message-----
  From: Deetra Whatley [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 01, 2003 1:07 PM
  To: CF-Talk
  Subject: Re:Breadcrumbs in Cold Fusion


  Hi Brad Roberts,

  I am interested in your two tags for breadcrumbs.

  If possible, I would like to have them.

  Thanks.

  Deetra Whatley
  [EMAIL PROTECTED]

  >For a tree view, I built a tag based off of Piet Niederhausen's
  >cf_traverseTree, which uses Joe Celko's algorithim from his book "SQL for
  >Smarties".
  >http://www.niederhausen.net/piet/dev/customtags/index.html  The code is a
  >lot simpler... it took me hours to figure it out.  And, instead of taking
a
  >query, it takes a stucture.  You can still use a query, you just have to
  >convert it to a structure... I think there's a UDF on cflib.org for this.
  >Or, you could re-code it to take a query.
  >
  >For breadcrumbs, I built a UDF that takes a scruct of your pages with
  >parent/child relationships.  The UDF traverses the structure and returns
an
  >array with the pages in order.  Then, you can loop over the array and
format
  >your links however you wish.
  >
  >I use these two tags together in my CMS and they work great.
  >
  >If anyone's interested, send me an email...
  >
  >-Brad
  >  -----Original Message-----
  >  From: Bushy [mailto:[EMAIL PROTECTED]
  >  Sent: Wednesday, October 01, 2003 9:19 AM
  >  To: CF-Talk
  >  Subject: Re: Breadcrumbs in Cold Fusion
  >
  >
  >  What about a nice treeview display similar to Microsoft Explorer?
  >
  >  --Original Message Text---
  >  From: Randell B Adkins
  >  Date: Wed, 01 Oct 2003 06:56:43 -0400
  >
  >  What I do is have a CutomTag (BCMenu.cfm).
  >  When needed I call the CustomTag passing 3 parameters:
  >
  >  <CF_BCMenu
  >  ItemName="First Link, Second Link, Third Link"
  >  ItemLink="aaa.cfm,bbb.cfm,ccc.cfm"
  >  ActiveItem="This Page Name">
  >
  >  The Custom Tag writes out:
  >  <cfloop index="i" from="1" to="#ListLen(ATTRIBUTES.ItemName)#">
  >     <cfoutput>
  >  <a
  >

>href=""> m
  >Name,i)#</strong></a>
  >
  >                                      <img
  >  src="">   >  </cfoutput>
  >  </cfloop>
  >  <!--- Output the current page title --->
  >  <cfoutput>#ATTRIBUTES.ActiveItem#</cfoutput>
  >
  >
  >  >>> [EMAIL PROTECTED] 10/01/03 06:43AM >>>
  >  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]

Reply via email to