Bug fix release, blocks adjusted, support for external databases added.
Added Danish languages (thanks to LnQ).
Tested with pnCPG 1.43/1.44 and pn 0.76X
Cas
Nice work Cas! Just a couple of small fixes for Firefox to have a working dynamic resize feature.
Edit iframe_SSI.html as follows:
1) Change line 34 to look like:
currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;
After
var iframehide="yes"
(around line 14) add these two lines:
var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
(you can also grab the last version from DynamicDrive).
2) Change line 225 of pnuser.php to become:
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>";
Thanks again for your wonderful work.
Thanks for the fix, I will incorporate this in the next version.
A lot of people will be thankful for this.
cas
does pnCPG have a website? i want to see the demo ;D thx
There are various websites listed here on the forum where you can se eit in action.
On my own website I do not have it active for the public and my dev website it not running in the public domain.
Cas
split unrelated reply into separate thread (http://forum.coppermine-gallery.net/index.php?topic=31984.0).