forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Draiver on July 16, 2004, 01:51:37 am
-
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??
-
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
-
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?
-
post a link to the topic you found...
GauGau
-
http://forum.coppermine-gallery.net/index.php?topic=5434.0
So I guess that " if ($cat!=0) { " should replace with something else...
-
Try
case 'lastup':
if ($cat==0) {
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
}
break;
-
that works! thanks again :)
starting to learn these things ;)
-
Recommended reading: http://www.php.net/manual/en/language.operators.comparison.php
GauGau
-
that might be useful..have to bookmark..thx