coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: tgontz on July 18, 2008, 01:47:17 PM

Title: [Solved]: How do I determine what the Album ID is?
Post by: tgontz 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?
Title: Re: How do I determine what the Album ID is?
Post by: Nibbler on July 18, 2008, 01:59:28 PM
Look at the address bar when you are viewing the page.
Title: Re: How do I determine what the Album ID is?
Post by: tgontz on July 18, 2008, 03:17:58 PM
Thank you very much!