I tried using your code. I tried to change it to a database format. It would not loop. Can you take a look.
<cfquery name="application.qGetPGCAC" datasource="pgcacdstdb" cachedwithin="#CreateTimeSpan(1,0,0,0)#">
SELECT DISTINCT ID, heading, subheading, subsubheading, webpage
FROM LeftNavHeadings
WHERE heading = 'PGCAC'
ORDER BY ID
</cfquery>
<!--- The Custom Tag writes out: --->
<cfparam name="ATTRIBUTES.heading" >
<cfoutput>#ATTRIBUTES.heading# > </cfoutput>
<cfoutput>
<cfloop index="i" from="1" to="#ListLen(ATTRIBUTES.subheading)#">
<a href=""> <strong>#ListGetAt(ATTRIBUTES.subheading,i)#</strong></a>
<!--- <img src="" ></cfloop>
</cfoutput>
My HTML output file
<html>
<body>
<cfset heading="PGCAC">
<cfset subheading=application.qGetPGCAC.subheading>
<cfset webpage=application.qGetPGCAC.webpage>
<cfoutput>
<CF_BCMenu_pgcac
heading="#variables.heading#"
subheading="#variables.subheading#"
webpage="#variables.webpage#">
</cfoutput>
</body>
</html>
Can you take a look. I really appreciate this.
Thank you.
Deetra Whatley
>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=""> >i)#"><strong>#ListGetAt(ATTRIBUTES.ItemName,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]

