Any method for just path+filename? Any method for just path+filename?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Any method for just path+filename?

Started by MichB, April 25, 2007, 01:52:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MichB

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.

vuud

Quote from: 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.

Check the doc's for  cpm_setReturnType

You can tell it to give you an array back...
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

MichB

Thanks a lot vuud, that's what I was looking for, In fact even much more.

vuud

Quote from: MichB on April 25, 2007, 04:24:39 PM
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


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

MichB

I already checked that with a for loop at the array.

Thanks a lot again, that was fast and good support.