Chris, I wish I could offer more insight, however I rewrote most of the views in my project. Unfortunately I don't use formtools on the front-end of websites (I see you're using formtools in both the search pod and the main search form). Formtools on the front-end of websites work great (especially when you need something quick), but they add a lot of weight to the HTML for my taste (and lots of js libraries)). I do use jQuery often on the front-end of websites (such as the one I'm working on now), but I'm currently using version 1.3.1 and formtools overrides it with 1.2.6. Also, by removing formtools my searches process much faster (especially on high volume websites) - I can't claim the same result for anyone else... this was just my experience.
I also prefer my searches to always land on url strings (meaning someone can copy and paste the search result url into an email to show to a colleague) - yes, I know this option is available with the verity plugin by disabling ajax, but I still prefer to disable formtools on the front-end. These were some of the things I had to do to get the farcryverity plugin to work while trying not to override much to the base plugin (not including custom webskins to match the client's design): 1. I couldn't figure out how to get getSearchresults() in verityService.cfc to work unless a specific session existed for the user with a boolean value = true. So I set it manually rather than run the entire processFormObjects.cfm file which would normally set the value to true. 2. I also had to extend verityService.cfc and create a new suggestLink() method otherwise it was forcing me to use extJS to make the link work. Because the file exists in the packages/custom folder, there was no way to dynamically call the file with createObject() (since I use the verity plugin in a lot of projects), so I had to create a second verity plugin to override the method (messy? yes. But the only other option was to edit the original suggestLink() method and make the extJS link optional - and I was trying to avoid modifying the original plugin). Please don't think my comments above are meant to be negative. Quite the opposite. Mat did a great job with the plugin. Formtools on the front-end are a great way to have a quick solution and are meant to be optional. Overall the farcryverity plugin is great. I specifically love the fact that I can have custom displaySearchResult.cfm views per object type. So where the news listings page for my site shows a very good looking layout of news title, teaser, date, and optional teaser image - I can display this same layout in my search results when the result is a news item (very cool. very flexible). I'm not sure if these are the answers you were looking for (since I'm not using formtools on the front-end), but at least you know why my pervious answers/replies were a little vague :) Regards, -- Jeff Coughlin Web Application Developer http://jeffcoughlin.com On Feb 11, 2009, at 2:40 PM, Chris Roth wrote: > Here's how i have it configed in the tree: > > Utility > - Search (nav = alias = search) > - Search Results include > - Search Pod include > Home > -- > -- > > If I preview the Search Results include from admin enter a term I get > results. Viewing soruce I see this page is posting to the object ID of > itself (the include) > > If I preview the Search Pod, I get no results, but I am sent to the > Search Results page. Viewing souce on the pod, I see its posting to > the objectID of the Search Nav ( the searchpod.cfm code has a check > for the existance of nav.alias) so it seeam to be doign what it is > suppoed to) as well as passing a a few hidden fields > > <input type="hidden" name="FarcryFormPrefixes" > value="9B1FCCF0F86911DD8C86005056B03BBA" /> > <input type="hidden" name="9B1FCCF0F86911DD8C86005056B03BBAObjectID" > value="9B1FCCF0-F869-11DD-8C86005056B03BBA"> > <input type="hidden" name="9B1FCCF0F86911DD8C86005056B03BBATypename" > value="farVeritySearch"> > > 9B1FCCF0-F869-11DD-8C86005056B03BBA is the objectID of the results > page. > > Are you guys using the latest farcryVerity (ie from Jeff's dowbnload > page?) Maybe a bug has been injected? > > I am trying to get a handle on the process flow for this, I cant seem > to determine how form.criteria makes it way to the verityservice.cfc.. > I see code in facryverity/webskins/farVeritySearch/displaySearch.cfm > to seems to acomplish this, but I can't detemrine how executing the > searchPod incldue gets to this point. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
