Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Last uploads :: Top rated links only show pics for album your in  (Read 2313 times)

0 Members and 1 Guest are viewing this topic.

pdiddy8117

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 66
  • luxuriousmodels.com
    • luxuriousmodels

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Last uploads :: Top rated links only show pics for album your in
« Reply #1 on: August 11, 2007, 07:58:35 am »

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

Code: [Select]
'{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",

with this
Code: [Select]
'{LASTUP_TGT}' => "thumbnails.php?album=lastup",
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.