forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: MichB on April 25, 2007, 01:52:48 pm
-
Hi, I used a hack to introduce flv videos into coppermine, and I want to make a module for joomla to show in front page the last added media, I already use cpmfecth to show latest image from an album (working so far so good), just wondering if there's any method in cpmfetch to simply get the latest path+filename from latest file aded at an album/category, to make such thing.
I looked at the documentation of cpmfetch and it seems that the methods report links already HTML formated.
Sorry for my poor english.
Regards.
-
Hi, I used a hack to introduce flv videos into coppermine, and I want to make a module for joomla to show in front page the last added media, I already use cpmfecth to show latest image from an album (working so far so good), just wondering if there's any method in cpmfetch to simply get the latest path+filename from latest file aded at an album/category, to make such thing.
I looked at the documentation of cpmfetch and it seems that the methods report links already HTML formated.
Sorry for my poor english.
Regards.
Check the doc's for cpm_setReturnType
You can tell it to give you an array back...
-
Thanks a lot vuud, that's what I was looking for, In fact even much more.
-
Thanks a lot vuud, that's what I was looking for, In fact even much more.
print_r will show you everything it has... Its also done as an example at the bottom on this page:
http://cpmfetch.fistfullofcode.com/features/index.php
-
I already checked that with a for loop at the array.
Thanks a lot again, that was fast and good support.