Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You have correctly discovered that you can simulate a search by including the form data in the URL. If you look at the search form, you’ll see there is a hidden field named “operator” that you must include in your data in order for the search to work as expected.

    Thread Starter benjik

    (@benjik)

    Is there a way to get this done with out editing any of the PHP files? I am trying to stay in the GUI admin panel to get this done. Could you go into some detail about how this is done or do you have a document on your website or somewhere on line showing the steps in order to get this done? I remember when I first found the search in url and tested it worked without a problem, but recently ran updates on the site including an update from your plugin and then it stopped working.

    Plugin Author xnau webdesign

    (@xnau)

    Yes it stopped working because I had to change the variables required. you don’t need to edit any PHP, just add the operator variable to the URL.

    Thread Starter benjik

    (@benjik)

    Dont I already have that by using search_field=Profession&value=Students Can you show me an example of what it needs to be?

    Plugin Author xnau webdesign

    (@xnau)

    You have most of it, just add the operator value:

    https://internationalbillofrights.org/signatures/search-our-database/?search_field=Profession&value=Students&operator=LIKE&submit=Search

    This plugin is really good. Benjik were you able to display the image of country next to selected country? Sorry, I had to ask here since the other post was closed. Would you share the code?
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search in URL’ is closed to new replies.