jkail Posted April 30, 2009 Report Share Posted April 30, 2009 I'm implementing a search page where results from several different sources are mashed together. Ideally I'd like to have a calendar spud on the page that is automatically searched on a page load, without having a separate search field for the calendar spud. That will allow me to use a generic search form/field that searches multiple sources, Trumba being one. I can probably find a way with some JavaScript to include the search spud, hide the spud controls, fill in the spud text field, and call doSearch(). However, before going down that path, I wanted to throw a note out here to see if there is an easier (or more supported) way of achieving what I'm after. Quote Link to comment Share on other sites More sharing options...
Steve A Posted May 5, 2009 Report Share Posted May 5, 2009 What you can do is place the main calendar spud in a new section of your search results page. You can dynamically pass the search keywords into the “addSpud” javascript call so that the spud will display events matching the keywords. You can search your site using Google search then pass in the same search string to the “url: { search: <searchStr> }” parameter to the TrumbaAddSpud javascript call. Search parameter help topic. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.