We are creating a simple search plugin to display a form and then send
the search to an external server, and parse and display the results.
Being very new to this, it's a bit confusing as to what directories we
should use for the files, and also how we actually output the custom
search results...
At the moment we have:
SearchPlugin
-> packages -> forms ->
configSearch.cfc - admin interface to change the hostname of
the search box
searchParser.cfc - Functions to send the search request, parse
the results. Is this the right folder for this?
-> packages -> webskins ->
displaySearchForm.cfm - Display the search and call the
searchParser.cfc on submit.
So just now I can enter a search term in the box, which invokes
searchParser (just dumps the form var at the moment) and that works,
however I'm not sure whether searchParser.cfc should be there, and
then I'm not sure where we would put the file to actually print out
the results and how it would reference the normal website header/
footer templates etc.?
Does anyone know of any guidance/examples of this type of page
processing anywhere that might help?
Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---