That's the ticket! Thanks Brendan. What's the timeframe for the next build? I admit, I'm a little anxious to put dmEvent to use.
~Tom >-----Original Message----- >From: Brendan Sisson [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 26, 2003 3:56 PM >To: FarCry Developers >Subject: [farcry-dev] Re: FU and Types > > >Tom Cornilliac wrote: > >>I just noticed that FU only creates mappings for type dmNavigation. >>This creates a bit of a problem when using the handpicked rule. Lets >>say I setup a handpicked ruled that includes a selection of dmHTML >>objects. In my displayTeaser template I make a call to ><skin:buildlink> >>to format my FU links. Uh Oh...No mappings for dmHTML types. >What I end >>up with is a mix of FU links and not so FU links on the same pages. >>Kinda defeats the purpose a bit. >> >> > >In your displayTeaser template just add a call to find that objects >navigational parent and then use the buildLink tag with the parent's >objectid, similar to the dmHTML/displayTeaser.cfm in >farcry_app (used in >the childLinks rule). > ><!--- get nav parent ---> ><cfscript> > o = createObject("component", >"#application.packagepath#.types.dmNavigation"); > qParent = o.getParent(objectid=stobj.objectid); ></cfscript> > ><skin:buildlink >objectid="#qParent.objectid#"><cfoutput>#stObj.Title#</cfoutput >></skin:buildLink> > >-Brendan >http://farcry.daemon.com.au > > > >--- >You are currently subscribed to farcry-dev as: >[EMAIL PROTECTED] To unsubscribe send a blank email to >[EMAIL PROTECTED] > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
