forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: eeL on April 28, 2007, 04:46:38 pm
-
This is what I have as my cpmFetch in a PHP Box:
echo "<CENTER>";
echo 'Recent Member Photos';
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,4);
$objCpm->cpm_close();
echo 'View Gallery';
echo "</center>";
I want to make 'View Gallery' a hyperlink. How can I do this, because everything I try mucks up cpmFetch. Thanks
-
Figured it out. ;)
echo "<CENTER>";
echo 'Recent Member Photos';
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,4);
$objCpm->cpm_close();
print ("<a href=\"your link here\">View Gallery</a>");
echo "</center>";
-
Great job eel! ;D
I've been searching here on cpg for just that answer.