forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: nomand on October 28, 2006, 03:48:24 am
-
searched for this issue, nothing yet.
I want the "Last additions" with thumbnails appear only on the gallery home page, but it appears in the categories and albums as well. how do i make it so that it only appears on the home page? www.nomand.ru/index.php
thanks. nomand
-
Quick mod to index.php
case 'lastup':
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
change to
case 'lastup':
if ($cat == 0) {
display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
}
break;
-
thanks! works perfect.
cheers man