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: How 2 deal with blocks & avoid vertical scrollbar?  (Read 8727 times)

0 Members and 1 Guest are viewing this topic.

geewee

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
How 2 deal with blocks & avoid vertical scrollbar?
« on: November 09, 2003, 09:48:49 pm »

Hi y'all,

just installed 1.2.0rc2 with pnCPG 1.5 under PN 0726. Looks like the best gallery to me!

Integration into PN was no problem, although I did not add a new block - I start CPG from the navigation menu.

:?:  My first question: what is a special block good for? Don't they go on either left or right side within PN? Or would this block contain something additional?

:shock:  Second question: I started to adjust the default theme to match my site's design and just cannot get rid of that nasty additional vertical scrollbar in PN's center block. I could not find any hint so far (even after hours of searching!)... except for: when I set "Show first level album thumbnails in categories" to "No", the scrollbar is gone in the album list - but still not in "Config"...

Any help is greatly appreciated!!!

geewee
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
How 2 deal with blocks & avoid vertical scrollbar?
« Reply #1 on: November 09, 2003, 11:40:24 pm »

Question 1:
The special Postnuke block is there to draw attention for your gallery on your home-page. People will notice your gallery and can see the latest changes without going into the gallery and search for it.
It is there for you if you want to use it.

Question 2 :
the scroll bar can be avoided by increasing the length of the frame being used.
Open up index.php in the pnCPG directory and change this line  :
Code: [Select]
echo "<iframe id='pnCPG' src='$url'  width='100%' height='800' marginwidth=0 marginheight=0 frameborder=0 ></iframe>";


to something like this :
Code: [Select]
echo "<iframe id='pnCPG' src='$url'  width='100%' height='1200' marginwidth=0 marginheight=0 frameborder=0 ></iframe>";


Have fun,

Cas
Logged

geewee

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
How 2 deal with blocks & avoid vertical scrollbar?
« Reply #2 on: November 14, 2003, 01:11:09 am »

Thank you very much, it works.

Unfortunately, the result is not very nice, especially since you do not know the viewer's browser window size.
Is there any way to put coppermine in a table (like PN's OpenTable/CloseTable functions) instead of an iframe?

geewee
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
How 2 deal with blocks & avoid vertical scrollbar?
« Reply #3 on: November 14, 2003, 08:28:07 am »

Since Coppermine is an external program, the only way i found was the iframe. Now the iframe can be placed in a table but do not think that is helping you very much.
Will see if it can be made differently for a future version.

Cas
Logged

geewee

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
How 2 deal with blocks & avoid vertical scrollbar?
« Reply #4 on: November 14, 2003, 11:16:39 pm »

Quote from: "casNuy"
Will see if it can be made differently for a future version.


Cas,
that would really be great, if it were possible.

I've just started using PN and Coppermine, and still am in the learning process... but will also try to find a solution. I think, peaking around helps me to better understand the whole stuff  :)

geewee
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.