Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Album which displays keyword search  (Read 5365 times)

0 Members and 1 Guest are viewing this topic.

Outsider

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Album which displays keyword search
« on: March 15, 2005, 03:37:08 pm »

After reading a bit about how to incorporate a feature to show an image in multiple albums, here's what I thought.
How about an album which will display a keyword search. So in essence when you click the album name, a keyword search (using a predetermined key word or words) will show up the images.

Has this been discussed/done as mod yet? If not, do you have any ideas on how this could be accomplished?  ???
« Last Edit: March 16, 2005, 12:02:22 am by GauGau »
Logged

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
Re: Album which displays keyword search
« Reply #1 on: March 15, 2005, 04:09:58 pm »

I think this sounds similar to what I posted here http://forum.coppermine-gallery.net/index.php?topic=15783 in feature requests, so maybe you should add your post to that topic, saying what a good idea it is!

Jeff

Outsider

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Album which displays keyword search
« Reply #2 on: March 15, 2005, 05:23:29 pm »

Well, I added some comments to your feature request, but I think I will still try to make a hack for cpg that will allow for this.
Not sure how sucessful I will be, but will try.

So any help would be appreciated.
I guess to start, I'm wondering how to identify in the database if an album is virtual or not. Would an extra column be enough, (where the keywords would be stored) or just add a flag column, and add another table which specifies the keywords...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Album which displays keyword search
« Reply #3 on: March 16, 2005, 12:02:00 am »

this exists in the devel version, there will be no backport by the dev team as far as I can see.

Joachim
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Album which displays keyword search
« Reply #4 on: March 16, 2005, 12:16:36 am »

You can preview keyworded album in v1.4 in my signature. The portfolio album is a "virtual" album that shows 0 actual files and x linked files. If you look at Search, it will show linked keywords so you can view albums that have those keywords.
Logged

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
Re: Album which displays keyword search
« Reply #5 on: March 16, 2005, 06:51:46 am »

I have the 1.4 beta, but I'm not sure how you create a 'virtual album'. Can anyone help?

Thanks

Jeff

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Album which displays keyword search
« Reply #6 on: March 16, 2005, 07:00:13 am »

You create the album just like any other. Then in album properties enter the keyword you want the album to use.

For future reference, v 1.4 beta comes with no support. I replied since it's simple.
Logged

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
Re: Album which displays keyword search
« Reply #7 on: March 16, 2005, 07:01:07 am »

OK, I see it now, open your eyes Jeff!

Great, thanks.

Jeff

Outsider

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Album which displays keyword search
« Reply #8 on: March 16, 2005, 02:19:01 pm »

That works rather elegantly. And it's exactly what I;ve been looking for.
I'll have to grab myself v1.4 and save myself the trouble of coding it myself.
Thanx guys!
Logged

jpaffett

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Lesvosisland.com
Re: Album which displays keyword search
« Reply #9 on: March 16, 2005, 03:31:58 pm »

Message understood about the support, but this was more a 'urrr how does it work' so I could check it out.

Thanks again

Jeff
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.