Jump to content

Creating a URL to return Search results


Recommended Posts

Is there any way that a search can be permalinked? Not the actual results, because they would be ever changing depending on the frequency of your events turning over. I mean the query. If I want to search "Sculpture" in my database of art contests, I get a list. Could that query be saved so that I could have links of popular search terms underneath the search spud. If a user clicked one of the popular search terms, a current list of events that met that search requirement would come up.

Link to comment
Share on other sites

If I understand correctly what you're asking, you can create your own URL that will return the results you want. It's actually kind of convoluted, but it's possible. Essentially, you build a REST-style URL, except you have to URL encode the parameters.

In your case, to use the search parameter to show only events that contain the string "sculpture", your URL would be as the ones below. (There should be no spaces in the code, but I wrapped the lines of code to keep them from getting too long on the screen.)

 

https://www.asingularcreation.com/Lists/art-contests.htm
?trumbaEmbed=calendar%3Dasingularcreation%26search%3Dsculpture
 
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...