Announcement

#1 2022-04-19 16:29:46

simmyjellers
Member
2022-04-12
14

More than 12 albums per page?

hey all-
i searched here, and also the internet at large. my site is loading 12 albums per page, with page numbers at the bottom. is there a way to load more, hopefully all albums on the same page?
i saw this question asked but not answered in the past.
thanks for any help or input!

Piwigo 12.2.0 Check for upgrade
Operating system: Linux
PHP: 7.4.28 (Show info) [2022-04-19 14:21:58]
MySQL: 5.5.5-10.3.27-MariaDB-log [2022-04-19 10:21:58]
Graphics Library: External ImageMagick 6.7.2-7
Piwigo URL: jimmysellers.com/pictures

Offline

 

#2 2022-04-19 16:44:48

gueba
Member
2021-12-31
55

Re: More than 12 albums per page?

Your question has already been answered here: https://piwigo.org/forum/viewtopic.php? … 17#p183417 and you replied to it.
Why don't you simply try it out?

Offline

 

#3 2022-04-19 17:48:52

simmyjellers
Member
2022-04-12
14

Re: More than 12 albums per page?

gueba wrote:

Your question has already been answered here: https://piwigo.org/forum/viewtopic.php? … 17#p183417 and you replied to it.
Why don't you simply try it out?

Thank you for the reply. that does not seem to work in sub-albums. In the admin.php file I changed:

$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
$conf_link = $link_start.'configuration&section=';

to

$link_start = PHPWG_ROOT_PATH.'admin.php?page=configuration';
$conf_link = $link_start.'configuration&section=display';


is that following the directions correctly? should this also be impacted sub-albums?

thanks again for your time to reply!

Offline

 

#4 2022-04-19 19:55:49

erAck
Only trying to help
2015-09-06
2026

Re: More than 12 albums per page?

simmyjellers wrote:

In the admin.php file I changed:

Bad idea, and might explain why you got that weird page=configuration configuration prepended failure in some other thread.

geez..


Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2022-04-19 20:03:01

simmyjellers
Member
2022-04-12
14

Re: More than 12 albums per page?

erAck wrote:

simmyjellers wrote:

In the admin.php file I changed:

Bad idea, and might explain why you got that weird page=configuration configuration prepended failure in some other thread.

geez..

i was able to get back to normal with a fresh admin.php file.
is there any suggestions for accomplishing what i am trying to do?
thanks for taking the time to reply.

Offline

 

#6 2022-04-19 20:48:12

Katryne
Member
2016-12-03
369

Re: More than 12 albums per page?

In my Piwigo, the maximum number of albums per page is the same as the number of sub-albums. Which number I set in the admin page : admin.php?page=configuration&section=display

Look here : there are 29 sub-albums in the hiking folder : https://photos.revestou.fr/index?/category/Explorer

I don't understand your problem.

Last edited by Katryne (2022-04-19 20:48:43)


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#7 2022-04-20 12:01:04

gueba
Member
2021-12-31
55

Re: More than 12 albums per page?

simmyjellers wrote:

...In the admin.php file I changed:

You should not edit the admin-file!

In your Administration-panel go to -->Configuration -->Options -->chose the Display-tab and find the last entry in the Main-Page-Section. It says something like "Numbers of albums per page" and change the adjacent value from "12" to the desired number.
Hit "Save" and you got it.

Offline

 

#8 2022-04-20 18:00:19

simmyjellers
Member
2022-04-12
14

Re: More than 12 albums per page?

Thank you Katryne & gueba!
I simply flat-out, did not see that option in the display tab. I know I must have looked right at it 10 times, and not registered.
Thank you all so much for the help!

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact