News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Order albums alphabetically by user profile

Started by dwo, July 09, 2010, 10:54:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwo

Hello

I do refer to this thread http://coppermine-gallery.com/forum/index.php/topic,24420.0.html
where the solution is presented to order albums alphabetically by username.

In order to custom order the albums, I thought to write text (a, b, c, ...) in an user_profile field and then to sort alphabetically via user_profile.

Could anyone please help me to insert the right code to sort the albums via user_profile?

Just replacing with user_profile1 didnt work.

Thank you very much.

dwo

Sorry for double post.

Dont know where the problem was but now it works the way described.

$sql .= "ORDER BY user_profile2 ";

A nice way to sort custom.

Joachim Müller