search keyword by folder search keyword by folder
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

search keyword by folder

Started by dennyhalim, August 15, 2015, 07:31:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dennyhalim

Hi i'm new with coppermine.

i have a couple album, lets name it : album-A, album-B, album-C.
in each album there are like thousand photos with keywords. and the keyword can be the same in different album

example : i have photos with keywords 0001 in album-A and also in album-B and album-C
but when i search 0001, all the pictures with keyword 0001 from album-A, album-B and album-C showed up.

what i want is, i want to search 0001 only from album-B.

is it posssible or is there a way?

thank you.

Αndré

I think that's not possible out of the box. But it should be possible with a custom search / meta album. How exactly shall it work? Do you need a search form where you enter the keyword and select the album or do you want to make the keywords below each picture clickable (actually, they are already clickable, so we need to change that link)?

dennyhalim

Quote from: Αndré on August 17, 2015, 03:56:52 PM
I think that's not possible out of the box. But it should be possible with a custom search / meta album. How exactly shall it work? Do you need a search form where you enter the keyword and select the album or do you want to make the keywords below each picture clickable (actually, they are already clickable, so we need to change that link)?

thank you Αndré, I need search form where i enter the keyword and select the Album.
example : i enter the keyword 0001 and select the album-B and hit Enter.

the result only from album-B showing all pictures with keyword 0001.

hope you have a solutions in step by step.

thanks again.

Αndré

Please extract the attachment and upload it to your Coppermine's plugin directory. Then, install the plugin as described in the Coppermine docs. Now, you can access your custom search form at index.php?file=custom_search/search

I haven't added any language strings yet or took care of beautiful output, but it should already work as expected.