• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

building breadcrumb navigation

Guest
Jun 08, 2009 Jun 08, 2009

Copy link to clipboard

Copied

IDsublevelitemname
1top level
131next level
6813next level
32368item 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!

TOPICS
Advanced techniques

Views

863

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Jun 08, 2009 Jun 08, 2009

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.)

Votes

Translate

Translate
Contributor ,
Jun 08, 2009 Jun 08, 2009

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.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 08, 2009 Jun 08, 2009

Copy link to clipboard

Copied

thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 08, 2009 Jun 08, 2009

Copy link to clipboard

Copied

LATEST

hmmm.. this looks like it builds the crumb based on the webpage.. i need it built on the structure of the database

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation