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: Hiding left block  (Read 13711 times)

0 Members and 1 Guest are viewing this topic.

geewee

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Hiding left block
« on: November 22, 2003, 12:39:17 pm »

Hi everybody,

I am trying to hide the left block when calling coppermine,
but since it is not located within PN, but in /gallery instead,
the following won't work:

Code: [Select]
if ($name != "gallery") {
  blocks(left);
}


Is there any other variable that I can read within themes.php,
or how would I best go about determining that cpg is called?

geewee
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Hiding left block
« Reply #1 on: November 22, 2003, 06:53:25 pm »

Logged

geewee

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Hiding left block
« Reply #2 on: November 22, 2003, 10:40:27 pm »

Thanks Cas,

so it would be like this, right?

Code: [Select]

if (pnModGetName() != "pnCPG") {
  blocks(left);
}


I can't make much out of the CEID stuff, which seems to be specific to ContentExpress, which I don't use. Anyway, will try it out when I'm back home.

geewee
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Hiding left block
« Reply #3 on: November 23, 2003, 01:05:59 pm »

Have not tried it myself but that is how i understand it. There is also a posting on my home-forum on www,nuy.info around that.
http://www.nuy.info/726/index.php?name=PNphpBB2&file=viewtopic&t=253

Cas
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.