It times out because your page calls itself, which calls itself, which calls
itself, which calls itself, which calls itself, which calls itself, which
calls itself, which calls itself etc...
Is the page title hardcoded in the file? You could cffile action="read" then
RegEx to extract it or pull the page title out something like this:
<cfset thisPageTitle = "My page title">
<cfmodule template="my-lovely-bc.cfm" title="#thisPageTitle#">
<head>
<title>#thisPageTitle#</title>
</head>
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-----Original Message-----
From: Jason Congerton
Sent: 13 November 2008 15:09
To: cf-talk
Subject: Bread Crumb
Hi
I am trying to create a small now thrills dynamic breadcrumb for a site, how
do i acces the title tags of a page?
I was going to write my code to .cfm file and include it on all pages
requiring breadcrumb trail.
I know you can use cfhttp to get the page title details, however, it seems
having cfhttp request the same page it is on, times out.
Is ther any way of find out what the page title is, other than cfhttp?
Jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4