Copy link to clipboard
Copied
ID | sublevel | itemname |
---|---|---|
1 | top level | |
13 | 1 | next level |
68 | 13 | next level |
323 | 68 | item page |
Hello,
Im building a breadcrumb navigation and having difficulties. I'd like to build the breadcrumb from the current item page. So, if the item ID is 323 then I should be able to get the level under, which would be 68.... then 13... and so on until I hit the top level.
Does anybody know the proper cfloop that would generate this.
Thank You!
Why re-build what someone else has already built?
http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=1186
(Though I must say, I prefer to do breadcrumb trails using javascript rather than CF to put the burden of processing on the client rather than server.)
Copy link to clipboard
Copied
Why re-build what someone else has already built?
http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=1186
(Though I must say, I prefer to do breadcrumb trails using javascript rather than CF to put the burden of processing on the client rather than server.)
Copy link to clipboard
Copied
thanks
Copy link to clipboard
Copied
hmmm.. this looks like it builds the crumb based on the webpage.. i need it built on the structure of the database