Jeff Coughlin wrote: > > Is it possible and if so how can I make the search results links use the > > friendly URLs that the rest ofhte site is using? > Sometime in 2004 I wrote a script that grabbed the parent navigation node > objectId and then I ran that through buildLink(), but I found it a bit > resource intensive (could have just been bad code on my end though :)). I > don't have the code in front of me, but it should be really easy to write > again if you care to give it a shot.
A couple of things to note... In FarCry 3.0 every content item can have a Friendly URL -- there is no need to look up the specific navigation folder -- and in fact for many content types there will be no navigation folder in any event. All that needs to be done is to change the result output to use build link rather than the manually constructed parameterised URL. When we build the Verity collection in FarCry we reserve the CFCUSTOM1 field for the content typename. This allows you to efficiently call a display method for the object rather than relying on the Verity dynamic summary. Very often I build a displaySearchResult.cfm display handler for every searchable content item and render that instead of just the bog-standard title and teaser we have in the example skin. This lets you handle individual content-types differently. For example, do a search on this site: http://www.bluescopesteel.com.au/ The search results should indicate the individual typename, and display their results differently depending on the type in question. For example, HTML objects show the breadcrumb for that page and so on. Hopefully somebody finds that of interest, -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev -~----------~----~----~----~------~----~------~--~---
