10394 Posts in 2203 Topics by 1714 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 260 Views |
-
YouTube Module supply feed to homepage

22 November 2011 at 5:41am Last edited: 22 November 2011 6:30am
Hi everyone
I have installed in the youtube module, which works great - however I want to also pull a feed of the 3 latest videos uploaded to the homepage and have no idea how to start on this... I tried
function YoutubeVideos($num=3){
$blogs = DataObject::get_one("YoutubeGallery");
return ($blogs) ? DataObject::get("YoutubeGallery", "", "", "", $num) : false;
}However this then only displays the information needed for the API service to go and grab the videos, i through the video URLs might be stored in the DB, but no
Any ideas welcome!
Thanks
| 260 Views | ||
|
Page:
1
|
Go to Top |

