Hi there,
So I'd like to show the latest Albums on my frontpage.
I've been able to show the 3 latest albums, the title and the description.
However, on the description I (always) use 3 lines, but it'll be displayed in a single line. Any way to change that? (in the cpg it's shown correctly)
And how can I change the image link to go to the albums thumbnail view?
thanks in advance
Quote from: shronk on December 13, 2007, 06:23:09 PM
Hi there,
So I'd like to show the latest Albums on my frontpage.
I've been able to show the 3 latest albums, the title and the description.
However, on the description I (always) use 3 lines, but it'll be displayed in a single line. Any way to change that? (in the cpg it's shown correctly)
And how can I change the image link to go to the albums thumbnail view?
thanks in advance
Can you post, or PM links to the examples of both? I am not entirely sure I follow...
Vuud
I'll jump in on this thread since my problem is related..
I'm using cpmfetch 2.0 on two sites.. same problem on both sites..
The images show up exactly how I want them, but the statistics (title and date) don't.
Here is the code I'm using for both (only the numbers for alignment are different)
Quote<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,2);
$options = array("subtitle" => "{{pTitle}} <br />{{pCtimeFormatted}}",
"imagesize" => "thumb");
$objCpm->cpm_close();
?></p>
Here are the two sites...
http://www.colinfarrellfansite.com (images in top left column)
http://www.heathbaby.com (images across top center)
Thanks in advance!
Quote from: maryp on December 30, 2007, 07:45:00 PM
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,2);
$options = array("subtitle" => "{{pTitle}} <br />{{pCtimeFormatted}}",
"imagesize" => "thumb");
$objCpm->cpm_close();
?></p>
I think u missed to parse $options to cpm_viewLastAddedMedia().
Try with:
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$options = array("subtitle" => "{{pTitle}} <br />{{pCtimeFormatted}}", "imagesize" => "thumb");
$objCpm->cpm_viewLastAddedMedia(2,2, $options);
$objCpm->cpm_close();
?>
Thank You !!
That did the trick on both of the sites!!
I had copied that code from another post.. so didn't know where to start looking for what was wrong!