Please help. When viewing my gallery, I get two vertical scrollbars. Is there a way to fix this?
I've searched the board for this item before, I apologize if it's been answered before.
Here's an example of the upper right of the screen.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.dorkon.com%2Fimg%2Fscrollexample.jpg&hash=c978995c5eb3ed0556836ceff4e75796a387b84c)
you appear to be using an iframe, so this is expected behaviour. For details, post a link...
Joachim
yes, pnCPG uses an iframe but within the last distibution is also an option to emove them (which does require a small change to PostNuke).
Read the tips.txt in th doc directory.
Cas
You can also go into the Config and allow the gallery to open in another window. I did this and it is MUCH better.
I followed the tips.txt file regarding the double scroll bars. It works great with IE but not in Mozilla. Any suggestions?
Go to your Config and set the gallery to open in its own window. Gets rid of the double bars.
I'm having the same double-scrollbar issue. I have followed the directions in the tips.txt file, including the ones for Netscape, hoping they would work for Firefox. I can get rid of the iFrame scrollbar in IE, but still not in Firefox. It looks like it's about to, and then it ... doesn't.
Any advice? Opening in a new window or a full window doesn't work for the situation I have.
You can see the behavior at http://biistate.net/testnuke/ The Coppermine gallery link is at the bottom of the menu.
Nevermind. I installed PostWrap and got it working with that.
As one more note, I made the tips.txt suggestions. Had to do that, or it still showed up with postwrap. Without postwrap, it still gives the double-bars.
I've made the adjustment from Tips.txt and it takes away the scrollbars but it then only displays like the first half of my gallery and then is just white. Any ideas?
link?
Some more info would be nice, all browsers ?, which versuion of pnCPG etc..
Cas
Ok, for myself this is a little too much to take....
I downloaded the latest version of Coppermine and in the DOCS section there was no file named tips.txt. There was no .txt file at all. Also I went into the config section and there was no option to have the gallery open in a new window... if there is under what sub section is it?
I have these 2 scroll bars which are driving me nuts! When I clicl on an item in the main screen it jumps me to the top of the screen and sometimes I can select the photo or catagory buy usully it keeps bringing me to the top of the screen.
I use Netscape to view the gallery and the gallery is located at http://www.aimenglish.ca/photos/index.php
I saw an earlier post that I can no longer find that edited a file and changed the setting to '0' or something...
I just wish it would work right off the install.. :\'(
Looking at your site, I notice you are not using PostNuke at all. This forum is dedicated to the pnCPG module which enables single signon between Coppermine and PostNuke.
In your case you adjust the number of pictures presented on the homepage within the config section of Coppermine itself.
Cas
casNuy Nope ... changing the settings didn't work... I tried changing most of the size settings, one at a time, and together but nothing worked. If this section is for Post Nuke support only, where whould I post this problem since other people are having a similar problem here. i even get the double scroll bars in the config section.
Can anyone point me in the correct direction?
Thanks
J-P
this is related to your framed setup. Post a link to the page where we can see your coppermine install inside your frame/iframe. A moderator will then move this thread if applicable.
" Post a link to the page where we can see your coppermine install inside your frame/iframe"
How do I do that? I didn't install the script. My host did that for me. I am not certain what an "iframe" is not where I should look for the files your require.
Thanks
J-P
read the docs that come with pnCPG then, or ask your webhost for support.
Ok ... I don't know wether to be happy or angry.
Gau Gau: Nothing in the docs is related to Iframe or frame set up. I know you helped write those docs and you know what you are talking about but it is just not there. The web host does not provide support for 3rd party applications.. which is why I am here. If you insist on giving one line responses you can try something like "look in the FAQ document under section 1.x for your answer." Try to be a little more reasonable in the replies.
Next: I found the error not in the core code, but in the "Fruity" skin. I don't know why I decided to try other skins, but I checked out all the default skins and none of them had this problem. Only "Fruity" had this design flaw. So if you need to move this thread.. please do so. For others having double scroll bars, please check your skin selection.. not all are created equally.
http://www.aimenglish.ca/photos/
Thanks
J-P >:( :D
you posted on the thread http://forum.coppermine-gallery.net/index.php?topic=22690.msg110257#msg110257 that you were able to solve this issue. In the future, please resolve the threads you started, preferably saying what you did to fix your issue for the benefit of others.
Ok ... done.... but I didn't want to double post the same issue.. I know it is some times taboo. In this case beacue it was in a "non-support" section I didn't post the resolution. I will edit the link and point it here (but this may get moved so I am not certain what to do at this point).
J-P
this thread is where your solution should go.
As described in tips.txt, the double scrollbars disappear after inserting
include ("iframe_SSI.html");
in header.php and copying iframe_SSI.html to the root folder of the postnuke site. If the site is viewed with Mozilla Firefox, the double scrollbars remain.
Using Coppermine 1.4.4, pnCPG 3.2, Firefox 1.5.0.1
Is there a way to avoid the double scrollbars also in Firefox?
Regards,
Daniel
I have not found a solution for Mozilla.
Cas
Has anyone found a solution to this problem??
FYI - There is something in the pnCPG TIPS.txt file:
NETSCAPE
========
Change the iframe line within index.php as follows :
echo "<div class=\"cpgframe\">"
."<iframe id='pnCPG' src='$url' width='580'
height='1500' scrolling='no' marginwidth=0
marginheight=0 frameborder=0 ></iframe></div>";
then in the styleNN.css add :
.cpgframe {
PADDING-BOTTOM: 3px; FONT: 11px/16px tahoma, verdana,
arial; COLOR: #3e494a; PADDING-TOP: 10px; HEIGHT:
1500px; TEXT-ALIGN: center
}
But I cant figure out where this line is in index.php? Maybe this was for an older version of pnCPG/Coppermine/Postnuke?
It seems that this would be a high priority issue! More than 50% of my users are using netscape (really firefox) accourding to my stats... Please let me know if anyone has an answer.
Has anyone found a solution to this problem??
FYI - Is this some sort of fix (from the pnCPG TIPS.txt file):
NETSCAPE
========
Change the iframe line within index.php as follows :
echo "<div class=\"cpgframe\">"
."<iframe id='pnCPG' src='$url' width='580'
height='1500' scrolling='no' marginwidth=0
marginheight=0 frameborder=0 ></iframe></div>";
then in the styleNN.css add :
.cpgframe {
PADDING-BOTTOM: 3px; FONT: 11px/16px tahoma, verdana,
arial; COLOR: #3e494a; PADDING-TOP: 10px; HEIGHT:
1500px; TEXT-ALIGN: center
}
But I cant figure out where this line is in index.php? Maybe this was for an older version of pnCPG/Coppermine/Postnuke?
It seems that this would be a high priority issue! More than 50% of my users are using netscape (really firefox) accourding to my stats... Please let me know if anyone has an answer.
That line now can be found in pnuser.php
Cas
double posted, check pnuser.php for that line.
cas
Merged threads. In the future, don't double-post!
Quote from: casNuy on November 28, 2006, 11:44:50 AM
double posted, check pnuser.php for that line.
cas
Thanks!
I am going to change this:if (file_exists($filename)){
echo "<iframe id='postwrap-content' name='pnCPG' src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload='parent.scrollTo(0,0);' ></iframe>";
} else {
echo "<iframe src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto name='pnCPG' onload='parent.scrollTo(0,0);' ></iframe>";
}
to this: if (file_exists($filename)){
echo "<div class=\"cpgframe\">"."<iframe id='postwrap-content' name='pnCPG' src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto onload='parent.scrollTo(0,0);' ></iframe></div>";
} else {
echo "<iframe src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto name='pnCPG' onload='parent.scrollTo(0,0);' ></iframe>";
}
But I still have two questions:1. Do I need to add the div / style to the second iframe reference also?
2. In what file do I actually define the style? There is no reference to styleNN.css in the pnuser.php file, and I can't find styleNN.css anywhere.
Thanks again!
Mike
There is no fixed answer for that one, it is a bit trial and error.
Currently i do not use FF so cannot help you there.
Cas
I have put the div tag on both iframe lines (it seems that firefox always uses the second line) and I have added the style to the theme's style.css file (which is included in the index.htm iframe reference), but it still doesnt work...
Can someone please look at this for me:
http://msbragginrights.com
You will find the div tag around the iframe, and the style is available, but firefox/netscape/mozilla still show double scrollbars.
I still cant belive that no one has encountered/fixed this issue... please help if you can.
Thanks!
I have implemented another way which seems to work also for Firefox.
I will release this here on the board as version 3.5
Cas