Is there a way to include the latest uploads and latest comments, but only on the front page. I have it working now except it also shows latest uploads and comments on every album. I want it to only show on the front page.
Can this be done?
If you set the breadcrumb to show these items, they should only be on the main page: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list). Not sure what you mean by showing on every album so if you provide a link tp your gallery that would help.
I'd rather not give out the address of my gallery. Let me see if I can expain it better.
the front page (gallery/index.php) shows the following
the categories block
the latest uploads block
the latest comments block
if you click on any of those categories (gallery/index.php?cat=1) for example it shows the latest uploads block and comments block also. i don't want these to show up anywhere but on the front page. just on index.php and no where else.
does that make sense?
i have been saying albums, because that is where you edit the latest comments stuff, but i guess technically it only shows up in the category view.
i don't want that to happen. just the front page.
add this
if($_GET['cat']==0 || !$_GET['cat'])
after each case under index.php around line 796 ~ 832
if you want to remove random block add that code after case 'random':
it should be look like this
case 'random':
if($_GET['cat']==0 || !$_GET['cat'])
display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
and same for other
worked perfectly... thank you so much.