Change the order of the album statistics? Change the order of the album statistics?
 

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]

Main Menu

Change the order of the album statistics?

Started by ashleyXcore, October 12, 2006, 04:03:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ashleyXcore

I want my album stats to be like so:
Images: %s
Total Images: %s
Last Updated: %s

Which would be possible if it didn't automatically sort them. It always puts "last updated" ahead of the "total files" statistic no matter what order I put them in in the english.php file. How can I change that?
"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."

ashleyXcore

"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."

Nibbler

You need to change index.php

            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},   {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");

ashleyXcore

Thanks, but I saw 4 different identical sections with that in them.
Also, I don't know exactly what to change to get it to go: #of files, # of linked files, last update.
Do I edit all 4 sections?
"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."