Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » YouTube Module supply feed to homepage

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 383 Views
  • lozhowlett
    Avatar
    Community Member
    146 Posts

    YouTube Module supply feed to homepage Link to this post

    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

  • lozhowlett
    Avatar
    Community Member
    146 Posts

    Re: YouTube Module supply feed to homepage Link to this post

    Bump!

    383 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.