hello
On my Frontpage of the Gallery I want display 6 rows and 10 cols..but on the page: thumbnails.php?album=lastup I want display 100 rows and 10 cols.
Its no a problem.. but I want use this mod:http://forum.coppermine-gallery.net/index.php/topic,43878.0.html (http://forum.coppermine-gallery.net/index.php/topic,43878.0.html)
how I can make that?
I think I must modify this code:
case 'lastup':
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
but how?
In the admin I can set on the metaalubms 6 rows, but when I than click on the page two, I have the 100 rows..=(
That will definitely overload the page and look silly. I doubt that your visitors will appreciate 1000 thumbnails on one page.
the number 100 is only a example..is that in the form possible and can you help me?
Quote from: streetart on August 07, 2008, 04:56:07 PM
On my Frontpage of the Gallery I want display 6 rows and 10 cols..but on the page: thumbnails.php?album=lastup I want display 100 rows and 10 cols.
Is your "frontpage" the index.php file or a self written file? (like on my page: welcome.php)
the index.php, I know when I use another file, I can take the cpmfetch.
After thinking about what you want, the solution is very simple.
Open the Config -> Album list view -> The content of the main page ->
There is something like "breadcrumb/catlist/alblist/random,2/lastup,2/lasthits,2". What you have to insert is "lastup,6", if you want to display 6 rows of the latest uploads on the main page.
The number of columns is set in "Thumbnail view -> Number of columns on thumbnail page" and can't be changed via config.
If you want to change the number of columns on the main page, you have to open index.php, search
case 'lastup':
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
and change $CONFIG['thumbcols'] to a number of your choice.
yes I tryed that. but that I also can make in the admin settings. I write I use the meta album paged mod. and when I have 6 rows, and the lastup site I want display 100 rows and I click on the start page on page two..than I have a error.
I can't imagine what you mean. Post a link to your gallery.