Hi!
Has anyone done a hack or whatsoever, to include coppermine gallery in their phpwcms. It's the only thing i'm missing from it, the "gallery" functionality of phpwcms is not that great yet.
Anyway, keep up good work!
-- Samuli
coppermine in phpwcms
No, it is not implimented yet. I'm guessing that it probably won't be either any time soon. But there a number of people who use Coppermine with phpWCMS with pretty good success using iframe. The only huge functionality you loose is having two user databases that aren't syncronized with same user/pass information.
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
iframe actually works quite well! And no, you do not have to scroll. It is very easy to use a little Javascript to dynamically resize the iframe. It doesn't seem to noticeably slow anything down either. Check out this link for the code to do it. It's as simple as copy and paste and just replacing the URL with URL for Coppermine's root folder. Here's a link for the code and directions... ask if you have questions or need an example:Hero wrote:But how does it work with iframes?
They have a constant size and the coppermine content changes all the time! I dont think that is a good solution if you dont want to scroll in the iframe.
merry christmas!
Andreas
http://www.phpwcms.de/forum/viewtopic.p ... calcheight
Header information:
Code: Select all
<script language="JavaScript">
<!--
function calcHeight()
{
var the_height=document.getElementById('the_iframe').contentWindow.document.body.scrollHeight; //find the height of the internal page
document.getElementById('the_iframe').style.height=the_height; //change the height of the iframe
}
//-->
</script>Code: Select all
<iframe src="http://www.mohrundmehr.de/termine/termine.php" id="the_iframe" onLoad="calcHeight();" width="600px" height="1" name="the_iframe" scrolling="no" frameborder="0">Wenn Sie diesen Text lesen unterstützt Ihr Browser keine iframes bitte folgen Sie dem Link.<a href="http://www.mohrundmehr.de/termine/termine.php" target="_blank">Terminkalender</A></iframe>while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
Thanks, I'm playing arround with that for quite long.
my problem right now is, that the size of the iframe fits,
but just the cpg/index.php. when you klick at a thumb the
content of the iframe shrinks but the iframe doesn't!
http://gruleiru.gr.funpic.de/phpwcms/index.php?bilder
merry christmas!
Andreas
my problem right now is, that the size of the iframe fits,
but just the cpg/index.php. when you klick at a thumb the
content of the iframe shrinks but the iframe doesn't!
http://gruleiru.gr.funpic.de/phpwcms/index.php?bilder
merry christmas!
Andreas