Automatically ordering front page album list alphabetically? Automatically ordering front page album list alphabetically?
 

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

Main Menu

Automatically ordering front page album list alphabetically?

Started by dmcaloney, June 18, 2013, 10:52:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dmcaloney

Hi,

I have had a search through the forums but cant seem to find a solution to a problem I am having.

My site (curve theme), I have a single category which contains around 200 albums. When I view these on the front page (alblist) they are not sorted alphabetically. I have checked the option in the config settings to show them alphabetically but it doesnt seem to do anything.

I am aware I can manually sort these in the Album Manager screen, but as I said I have about 200 so this would be a real pain!

Is there a way I can do this automatically?

Thanks in advance.


Niecher

I have read your question, but I honestly do not know

phill104

It is a mistake to think you can solve any major problems just with potatoes.

dmcaloney

Thanks Phill, but that thread isn't exactly what I am trying to do.

When I am actually in the album, I have sorted the pictures (in Config settings) to be sorted by name ascending, which is great and what I want.

My problem is that I have imported around 200 albums using the mass import plugin. These are contained in a single category on the front page. However these are displayed in the order they were imported which appears to be random.

I would like to display them alphabetically.

I can do this by editing the albums table directly in the SQL database (pos column), but I was hoping there was a code change or something I could implement instead to save this manual editing of 200+ records.

Hope that is clearer?

ΑndrĂ©

That's a hidden config option since cpg1.5.22. In the Coppermine database, open the config table, search for the row album_sort_order and change it to
ta


Slightly more information can be found in the corresponding feature request: http://forum.coppermine-gallery.net/index.php/topic,75112.0.html