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: [Solved]: How do I determine what the Album ID is?  (Read 3664 times)

0 Members and 1 Guest are viewing this topic.

tgontz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
[Solved]: How do I determine what the Album ID is?
« on: July 18, 2008, 01:47:17 pm »

I am trying to disable RC Menu for an album and I found this in another thread (http://forum.coppermine-gallery.net/index.php?topic=33377.0):

To disable the rcmenu in an album you need to add this if statement to rc_menu function
Code:
if($_GET['album'] == Album ID ){//change Album ID with your desire album id
      return $html;
   }
   
right after variable init like this:

// Add Righ Click Menu
function rc_menu($html)
{
   global $CONFIG, $RCMENU;
   if($_GET['album'] == 15){
      return $html;
   }
   $premenu='</title>
        .
        .
        .
   return $html;
   }
?>

HOWEVER, I don't know what my Album Id  is. How do I determine what it is?
« Last Edit: July 18, 2008, 04:48:29 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: How do I determine what the Album ID is?
« Reply #1 on: July 18, 2008, 01:59:28 pm »

Look at the address bar when you are viewing the page.
Logged

tgontz

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: How do I determine what the Album ID is?
« Reply #2 on: July 18, 2008, 03:17:58 pm »

Thank you very much!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.