I must admit Im totally confused by this thread.  As previously
mentioned, breadcrumbs work with any dynamic content simply by passing a
navid URL variable.   For instance - if you had a page that listed news
- and you wanted the breadcrumb on the news displayPagexxx.cfm to be
idenitcal to the referer, then all your displayTeaserxx.cfm method for
news would have to include is something like :

<a
href="#application.url.conjurer#?objectid=#stObj.objectid#&navid=#request.navid#">#stobj.title#</a>

What are you trying to achieve that providing a navid url var  doesn't
accomplish? 

Paul

>>> [EMAIL PROTECTED] 2/4/2004 6:33:44 AM >>>
So, here a quick fix for making breadcrumbs work with dynamic content
such
as custom types, new, events, etc.

First thing is in your teaser display you want to have a way to tell
the
following page where you came from.  We opted to do:

#application.url.conjurer#?objectid=#stObj.objectid#&refurl=#url.objectid#

Notice the refurl that pulls the objectid from the page that you set up
your
teaser rule.

Then, just do the following to your bread crumb:



     <cfif structKeyExists(url,"refurl")> <!--- if we are coming from
a
teaser page with a refurl --->
          <cfset newCrumb = url.refurl>
          <cfset incSelf = 1>
      <cfelse> <!--- if not use the default setup--->
          <cfset newCrumb = request.navid>
          <cfset incSelf = 0>
     </cfif>
     <skin:breadcrumb separator=" &##187; "
here="#request.stobj.Title#"
linkClass="breadcrumb" objectid="#newCrumb#" startLevel="1"
includeSelf="#incSelf#">


Hope this makes sense.


--
Regards,
Michael J. Sammut
________________________________________________
F O U R  E Y E S  P R O D U C T I O N S

think | plan | create :: web site design & development :: NYC

E. [EMAIL PROTECTED] | T: 718.254.9557 ext. 101 | F: 718.254.0399

W. http://www.foureyes.com 



---
You are currently subscribed to farcry-dev as:
[EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to