4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: cch on January 01, 2009, 05:54:15 PM
-
Hi all
On the main page it displays the total images, can it be changed from 1019 to 1,019. :lol:
-
In includes/page_header.php find:
"total_images" => $total_images,
Replace it with:
"total_images" => number_format($total_images, "", "", ","),
-
Thank you man :lol:
-
I forgot to ask how do you make it display the same for the total images in each category and sub category :)
-
in includes/functions.php
Find:
"num_images" => $num_images
Replace it with:
"num_images" => number_format($num_images, "", "", ",")
-
I thought it would be something similar, just didn't know what file, thanks alot :lol:
-
I noticed a problem I have with the total amount of images displaying in each category. When you click and scroll down to the bottom of the page it says "x images(s) on x page(s)." Now mine says "images(s) on 0 page(s)." And the page navigation doesn't display 8O
-
I'm pretty sure the changes I've posted have nothing to do with pagination...perhaps you did some other modifications that affected it.
-
I haven't done any other changes, on my New Images page the pagination shows fine :lol:
-
Hi V@no
I managed to fix the issue but on the pagination it hasn't changed
3651 images(s) on 305 page(s).
:)
-
Hi V@no
I managed to fix the issue but on the pagination it hasn't changed
3651 images(s) on 305 page(s).
:)
I know, cch already resolved this problem.
I will post for other users too.
In the file includes/paging.php
find
$this->num_rows_all = $num_rows_all;
add below
$this->new_format = number_format($num_rows_all, "", "", ",");
find
$replace_array = array(
$this->num_rows_all,
replace with
$replace_array = array(
$this->new_format,