forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: dmcaloney on June 18, 2013, 10:52:05 am

Title: Automatically ordering front page album list alphabetically?
Post by: dmcaloney on June 18, 2013, 10:52:05 am
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.
Title: Re: Automatically ordering front page album list alphabetically?
Post by: dmcaloney on June 19, 2013, 10:59:34 am
no one?  :(
Title: Re: Automatically ordering front page album list alphabetically?
Post by: Niecher on June 19, 2013, 11:17:19 am
I have read your question, but I honestly do not know
Title: Re: Automatically ordering front page album list alphabetically?
Post by: phill104 on June 19, 2013, 12:12:13 pm
Maybe this thread will give you the information you need - http://forum.coppermine-gallery.net/index.php/topic,75487.msg363680.html#msg363680
Title: Re: Automatically ordering front page album list alphabetically?
Post by: dmcaloney on June 19, 2013, 01:41:50 pm
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?
Title: Re: Automatically ordering front page album list alphabetically?
Post by: Αndré on August 21, 2013, 02:17:49 pm
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
Code: [Select]
ta

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