Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: search keyword by folder  (Read 3383 times)

0 Members and 1 Guest are viewing this topic.

dennyhalim

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
search keyword by folder
« on: August 15, 2015, 07:31:39 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: search keyword by folder
« Reply #1 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)?
Logged

dennyhalim

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Re: search keyword by folder
« Reply #2 on: August 18, 2015, 01:05:33 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: search keyword by folder
« Reply #3 on: September 09, 2015, 05:12:05 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 19 queries.