I am using 2.2.1 (I know, no support [gulp]). I would like to display a block of 2 rows and 2 columns of mini thumbs in a Drupal block. I found a 1 year old post that explains how to do this but [gulp] I'm not using the version that is referenced
Quote from: dwo on June 25, 2008, 02:23:35 PM
HI.
easy.
Mini thumbs have the prefix _mini.
So, we need to change "thumb" into "mini" in cpmfetch.php at line 1546 and cpmfetchdao 266
Now, when you sort by thumbs, the minis are displayed.
regards, Dietmar
Those line numbers don't correspond to my version, does anybody have the correct line numbers to change?
Thanks
Steve
BTW, thanks to the author for a nice addition to CPG!
In my previous post I neglected to show the code that I am using here it is...
My site is at http:\\www.cohassetsteve.com (//http://http:%5C%5Cwww.cohassetsteve.com)
<?php
include_once "../cpg/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../cpg/cpmfetch/cpmfetch_config.php");
$options = array("subtitle" => "File name : {{pFilename}}");
$objCpm->cpm_viewRandomMediaFrom("",3, 1, $options);
$objCpm->cpm_close();
?>