Or do the same but use CGI.SCRIPT_NAME which for that example would give you
/Florida/East Coast/Miami/Hotels.cfm So its just a case of <CFSET lstBreadCrumb = ListDeleteAt(CGI.SCRIPT_NAME, ListLast(CGI.SCRIPT_NAME, "/"), "/")> Then loop over the list to your specific formatting requrements HTH -----Original Message----- From: Jerry Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 19:38 To: CF-Talk Subject: RE: Breadcrumb navigation CF Tutorial so if we had a file with the following url: /Florida/East Coast/Miami/Hotels.cfm we could assume that the breadcrumbs/waymarker line would say Home > Florida > East Coast > Miami The page name would be Hotels To get the path for the current page, you could use the GetDirectoryFromPath(GetBaseTemplatePath()) To get the file for the current page, you could use the GetFileFromPath(GetBaseTemplatePath()) You will need to know the "default path" to know how much of the front of the path to throw away. For example, if the path is g:\inetpub\wwwroot\Florida\EastCoast\Miami\hotels.cfm, you want to get rid of g:\inetpub\wwwroot\. You could place this in the Application.cfm file as a global variable. <cfset defaultPath="g:\inetpub\wwwroot\" then remove this from the path, and treat the path as a \ delimited list. Does any of this make sense? Jerry Johnson >>> [EMAIL PROTECTED] 01/30/03 02:16PM >>> I'm thinking we are going to used directory based file location. Luis -----Original Message----- From: Jerry Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:09 PM To: CF-Talk Subject: RE: Breadcrumb navigation CF Tutorial Are your sections defined by directory based file location fuseaction dependancy trees sitemap tree file naming convention extra sgml/xml/comments in the cfm file itself other ? Jery >>> [EMAIL PROTECTED] 01/30/03 02:05PM >>> >>> explain...what you mean by breadcrumb navigation with CF ...tony > Does anyone know of a good tutorial on creating breadcrumb navigation > with CF? I guess what is meant is this your are here: home -> section -> subsection -> more sub sections WG ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4