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: Possible to show count of files when the album is keyword based?  (Read 3349 times)

0 Members and 1 Guest are viewing this topic.

tenacjed

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • Waggoner Photography

Site: http://www.waggonerphotography.com/gallery2/index.php?cat=0

Example: http://www.waggonerphotography.com/gallery2/index.php?cat=8

I have several albums that are keyword based.  I like the view that shows the number of albums and number of files in the albums.  However it shows 0 for all albums that are keyword based.  Is it possible to force the count of keyword linked files?

Thank You,
John W
Logged
What a long... strange trip it's been!!!

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 784
    • GMC Design Photo Gallery
Re: Possible to show count of files when the album is keyword based?
« Reply #1 on: January 13, 2014, 12:29:49 am »

In CPG config, under "Album List View", the last option is "Show number of linked files".
When checked, an album will show both number of files, and number of linked files.

Does this provide what you want?
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

tenacjed

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • Waggoner Photography
Re: Re: Possible to show count of files when the album is keyword based?
« Reply #2 on: January 13, 2014, 01:05:00 am »

In CPG config, under "Album List View", the last option is "Show number of linked files".
When checked, an album will show both number of files, and number of linked files.

Does this provide what you want?

Well... yes and no, LOL.  It looks like it is something with my theme as I do have that option enabled.  With my theme it only shows count of files, and does not show total files.  I switched to the curve theme, so I see what you are talking about and now know the data is there.

Thank you for helping, at least I know it is possible.  I just need to do some digging around to figure out the right code for total files to replace count files. 
Logged
What a long... strange trip it's been!!!

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 784
    • GMC Design Photo Gallery
Re: Possible to show count of files when the album is keyword based?
« Reply #3 on: January 13, 2014, 01:12:07 am »

Couldn't tell if you had it set or not..Perhaps one of our resident 'theme experts' can add some assistance.  :D
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Possible to show count of files when the album is keyword based?
« Reply #4 on: January 13, 2014, 03:46:53 pm »

The config setting Show number of linked files just applies to the information which is displayed next to each album. If I follow your link to category ID 8, I cannot see any albums, but just link to sub-categories, thus the setting has no effect. If I remember correctly there's currently no mod which adjusts the album/file counter for categories.
Logged

tenacjed

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • Waggoner Photography
Re: Possible to show count of files when the album is keyword based?
« Reply #5 on: January 13, 2014, 06:32:55 pm »

Thanks for the info.  I was hoping there was a way to have the category count the linked files like it does for actual files, but oh well.   
Logged
What a long... strange trip it's been!!!

tenacjed

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • Waggoner Photography
Re: Possible to show count of files when the album is keyword based?
« Reply #6 on: January 14, 2014, 01:00:30 am »

Also I just realized that I misspoken in my original post with album, when I meant to say category.  I was hoping to have the category list the number of files that are keyword linked in the category listing, assuming the category contains albums.
Logged
What a long... strange trip it's been!!!

tenacjed

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 33
    • Waggoner Photography
Re: Possible to show count of files when the album is keyword based?
« Reply #7 on: January 14, 2014, 07:54:28 pm »

Marking as resolved due to poorly written question by me!
Logged
What a long... strange trip it's been!!!
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.