plegall / Piwigo-search_links

2 stars 5 forks source link

How to use this plugin?? #2

Open RStoroy opened 4 years ago

RStoroy commented 4 years ago

Sorry but there are nowwhere to found an userguide for this plugin. Thanks

regexgit commented 4 years ago

Me too, I would like to know, after a search the link (url) is already available, also what brings this plugin in addition?

joacom commented 4 years ago

You can do: www.urltopiwigo.example/search.php?word=searchword

joacom commented 4 years ago

Or combine different search properties like this: search.php?mindate=2011-01-15&maxdate=2011-01-31&album=23

joacom commented 4 years ago

How to use this Plugin?

Point your browser to your piwigo installation (in my example webpage.example) add search.php? and the parameters you want to use

In this example i search for the word Banana www.webpage.example/search.php?word=Banana

You can combine many search terms like this: search.php?mindate=2011-01-15&maxdate=2011-01-31&album=23

regexgit commented 4 years ago

Ok, I see now. If I had been less lazy I would have gone directly to see the content of the plugin: in fact it's very simple, with the HTTP request it just transforms the GET into POST. But it's unusable for me because it doesn't process tags.

AndyJAllen commented 7 months ago

Do you have a suggested function for cleaning text for use as the "word" parameter? I want to collect a search string that a user would type in but make sure its handling spaces and other characters to work with your plugin. Preferably it would split by space and search multiple words using OR clause

Edit: i figured it out... Thanks for this plugin!