Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » File browser?

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

Page: 1
Go to End
Author Topic: 1014 Views
  • DanStephenson
    Avatar
    Community Member
    115 Posts

    File browser? Link to this post

    Hi guys,

    I am onto my second SilverStripe site (the first one is now in the Showcase if anyone wants to see it). Anyways, what I am trying to do now, is to make a site where a user will upload their FLV video of a product, and then I'll display these videos inside of a lightbox, using the Longtail video player.

    I want the user to be able to upload their video, and then from the CMS, when the user is editing a specific product page, they can select the uploaded video from a "file browser" like interface, that just shows them the files inside a "video" folder I creates inside the assets folder (or better yet, upload directly through the editing interface, like the Image field). Then they select one of these files, and the variable becomes a filename, so I can link to it. Similar to how the Image field works.

    How can I go about setting this up in the CMS?

  • DanStephenson
    Avatar
    Community Member
    115 Posts

    Re: File browser? Link to this post

    I solved my own problem. I used this recipe http://doc.silverstripe.org/doku.php?id=recipies:adding-a-file-to-a-page

    I got some errors when I used the SWFUploader (see screenshot), so I'll use File for now.

    1014 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.