Most viewed and toprated lists only in main page? Most viewed and toprated lists only in main page?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Most viewed and toprated lists only in main page?

Started by Draiver, July 16, 2004, 01:51:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Draiver


I've configured to show those too lists, but now it shows those lists in all categories as well...Is there a way to get them showed only in the main page??

Joachim Müller

out-of-the-box: no!
I remember someone has coded a hack that will do what you request for cpg1.2.1, might work with cpg1.3.x as well. Please search the cpg1.2 support board and the mods baord as well, as I can't remember the actual thread.

GauGau

Draiver

I found help how to show those everywhere except in main page...but not how to get them showed only in main page and not elsewhere...
Or then I didn't just find the right topic...so..can anyone find it or know how to solve this?

Joachim Müller


Draiver


Joachim Müller

Try            case 'lastup':
               if ($cat==0) {
                display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                flush();
               }
                break;

Draiver

that works! thanks again :)
starting to learn these things  ;)

Joachim Müller


Draiver