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

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

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."