Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Any method for just path+filename?  (Read 5003 times)

0 Members and 1 Guest are viewing this topic.

MichB

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Any method for just path+filename?
« 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.
« Last Edit: April 25, 2007, 06:49:11 pm by GauGau »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Any method for just path+filename?
« Reply #1 on: April 25, 2007, 03:19:13 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...
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Any method for just path+filename?
« Reply #2 on: April 25, 2007, 04:24:39 pm »

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

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Any method for just path+filename?
« Reply #3 on: April 25, 2007, 04:31:19 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


Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Any method for just path+filename?
« Reply #4 on: April 25, 2007, 04:53:22 pm »

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

Thanks a lot again, that was fast and good support.
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 16 queries.