forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: pdiddy8117 on August 11, 2007, 06:49:07 am
-
Hello I am using latest version of cp I am not sure if this is a bug but when i am in an album if i click on Last uploads :: Top rated links it only shows me last upload for that album or top rated for that album. I would like those links to always show top rated and last uploads of all albums in gallery. It only shows it this way if i am in home page. i need it like this at all times. Thanks
-
It's not a bug , it's expected and normal
but you can change it the way you want by create a custom theme and customizing those button's link
you should copy theme_main_menu() function from themes/sample/theme.php to your template/theme.php just before php end tag (?>) and then remove $cat_l2 from their target reference (_TGT) for those buttons that you don't want behave normal
for example here is the Last uploads link
replace this
'{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
with this
'{LASTUP_TGT}' => "thumbnails.php?album=lastup",