coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: hozyali on January 24, 2007, 12:18:18 PM

Title: Last Additions on my website homepage.
Post by: hozyali on January 24, 2007, 12:18:18 PM
I have placed a piece of code on my website homepage www.bookstocollect.com to show Last Additions.

it shows the last images fine, but the problem is its layout. I would like to show the same table  of Last Additions (with comments and other info etc) shown on the gallery index www.bookstocollect.com/gallery

Can some one please help?

Regards
Ali
Title: Re: Last Additions on my website homepage.
Post by: Joachim Müller on January 24, 2007, 01:09:23 PM
Quote from: hozyali on January 24, 2007, 12:18:18 PM
I have placed a piece of code on my website homepage www.bookstocollect.com to show Last Additions.
Did you use cpmFetch? Your question is not related to bridging.
Title: Re: Last Additions on my website homepage.
Post by: hozyali on January 24, 2007, 01:49:50 PM
Im not familiar with cpmFetch. the code is pasted below.


Quotes<?php   
include "gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('/gallery');
//$objCpm->cpm_viewRandomMedia (1,4);
$objCpm->cpm_viewLastAddedMedia (2,4);
$objCpm->cpm_close();
?>
Title: Re: Last Additions on my website homepage.
Post by: Gizmo on January 24, 2007, 02:13:30 PM
Then should check out the cpmFetch website (http://cpmfetch.fistfullofcode.com/projects/copperminefetch/docs.php) help information and/or search the cpmFetch board (http://forum.coppermine-gallery.net/index.php?board=87.0) and become familiar with it if you're going to use it. Here's a link to get you started - http://forum.coppermine-gallery.net/index.php?topic=36595.0 (http://forum.coppermine-gallery.net/index.php?topic=36595.0)
Title: Re: Last Additions on my website homepage.
Post by: hozyali on January 24, 2007, 02:21:06 PM
Thanks, I will study it.

Ali