Advanced search  

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

Pages: [1]   Go Down

Author Topic: latest uploads meta  (Read 3090 times)

0 Members and 1 Guest are viewing this topic.

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
latest uploads meta
« on: August 07, 2008, 04:56:07 pm »

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

how I can make that?

I think I must modify this code:
Code: [Select]
                    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..=(

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: latest uploads meta
« Reply #1 on: August 07, 2008, 06:00:48 pm »

That will definitely overload the page and look silly. I doubt that your visitors will appreciate 1000 thumbnails on one page.
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: latest uploads meta
« Reply #2 on: August 07, 2008, 06:09:36 pm »

the number 100 is only a example..is that in the form possible and can you help me?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: latest uploads meta
« Reply #3 on: August 08, 2008, 08:51:23 am »

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)
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: latest uploads meta
« Reply #4 on: August 08, 2008, 09:16:10 am »

the index.php, I know when I use another file, I can take the cpmfetch.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: latest uploads meta
« Reply #5 on: August 08, 2008, 09:35:45 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: latest uploads meta
« Reply #6 on: August 08, 2008, 09:37:38 am »

If you want to change the number of columns on the main page, you have to open index.php, search
Code: [Select]
                    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.
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: latest uploads meta
« Reply #7 on: August 08, 2008, 09:40:50 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: latest uploads meta
« Reply #8 on: August 08, 2008, 09:42:18 am »

I can't imagine what you mean. Post a link to your gallery.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.