5121 Posts in 1527 Topics by 1119 members
|Go to End|
26 March 2009 at 10:08am Last edited: 27 March 2009 4:18am
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?
27 March 2009 at 4:58am Last edited: 27 March 2009 7:40am
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.
|Go to Top|