1
Mkjones
Xcgal - Coppermine - Sub Albums and Pics count on index
  • 2012/3/12 15:00

  • Mkjones

  • Just popping in

  • Posts: 24

  • Since: 2009/7/29


For anyone using this gallery, and infact any Coppermine user that has the same problem, then my solution might work for you too.

It seems that there hasn't been a solution to this problem for years but whether or not the latest version of Coppermine has this problem I am not sure as the demo isn't very clear on that point.

The problem is regarding the album and picture count ignoring the sub albums and the pictures that reside in them from appearing on the main category total. This can make a Gallery index page seem as if there aren't any pictures installed at all! Very disconcerting. My solution is far from ideal as I don't understand smarty code so I have had to use php code instead. The code is pretty straightforward though and isn't too confusing. My solution has been posted on my own forum here:

Coppermine Gallery Albums and Pictures Index Count! Part 1

Regards

Login

Who's Online

154 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits