Hi,
I am trying to figure out a way or plugin to search by selection from all possible keywords.
What is displayed on tags.php is limited because I can only click a single keyword and it redirects me immediately. Instead of links some sort of submit form with <input type="checkbox"> would be much better.
I know there is 'Search keywords' option in search.php but it has only dropdown list and having houndreds of keywords this isn't much convenient.
Piwigo version: 2.9.4
Offline
Batch manager allows you to search by keywords. It has a dropdown menu, but you can type them in manually too.
Offline
I don't understand
with 'Tag To Keyword' plugin on this page
admin.php?page=tags
I see all keywords and can select/checkbox them and then edit/duplicate/merge/delete
so can't I have this as a standard page with option search/display ???
wouldn't be that easier for visitors ?
Offline
I am completely confused.
What exactly are you trying to accomplish?
Offline
Users can click Menu Search and select from the Search keywords list, it starts narrowing the list as soon as you type, (repeat for multiple), and either All keywords (default) or Any keyword.
Alternatively use the Search for words edit field and check the Keywords box (and maybe uncheck the others).
Last edited by erAck (2019-04-05 00:45:29)
Offline
ah I see.
Yes, I simply typed "clouds landscape" into my search box, and it showed me all the images containing both those keywords.
Offline
Let's say you picture animals so there are hundreds of keywords describing year, location, cat/dog, breed.
If one can see all of it then it's easy to imagine what's available and select certain breeds for available locations and years. Sure you can guess some things like breed but you won't guess location and scrolling thru hundreds of keywords is painful.
As I explained above, parts of it are already in two different plugins so the idea is to combine to one simple page where you see everything, select what you want and click submit.
Offline
telemach wrote:
What is displayed on tags.php is limited because I can only click a single keyword and it redirects me immediately
Let's say you click keyword1, and that will display all images containing keyword1.
Then, in the menu there is "Related keywords" showing you all keywords in your selection. Then you click on keyword2 and it is added to the filter.
Then you will see all images with keyword1 + keyword2. "Related keywords" shows you all other keywords contained in your selection.
and so on ...
Offline
I am trying to tell you how important is to see all the keywords and then select few and not one and you are trying to tell me that selecting one is the enough or having clutter with dozen related is even better
Offline
I'm just telling you what is available. Obviously what you want doesn't exist.
It's not a bad idea. It certainly can be accomplished with a plugin.
Offline
so point me to an article how to get keywords from database and use them to initiate the search so I will try do one for myself
Offline
are you running Piwigo yourself, or you subscribed to Pwigo.com?
https://github.com/Piwigo/Piwigo
https://piwigo.org/doc/doku.php?id=dev:extensions:start
Last edited by executive (2019-04-05 10:57:19)
Offline
I am sorry you didn't understand.
I don't want a link about plugins, I need some guidance in getting keywords from database and using for search.
Offline
I understand completely.
If you have a specific question, I'm sure someone can help answer it for you.
Otherwise, I would start look at the source from other plugs to see how they do it.
There is no step-by-step.
Offline
OK, I managed to get page with checkboxes, now I need to find a way to execute search with selected tags.
Offline