We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18493
    • 3 Posts
    martinteractive Reply #1, 17 years ago
    Hello,

    I’m playing around with MODx for a couple of weeks now, and I like the file structure of it.

    But now, a client of me is looking for cms where he can manage a multimedia section on his site. He wants a section with downloadable MP3 files (Radio podcasts) and a section with video files ( FLV player )

    I’m sure that MODx can handle this, but I don’t know how. Can someone help me in the good direction to make this solution?

    Thank you all in advance! wink
      • 15152
      • 360 Posts
      I have done this several times. www.justsayknow.net, www.justgod.tv

      I use jQuery as the method to display both the video and podcasts (in fact, it’s the same code).

      The only thing necessary on the MODx side is to create a few Template Variables (TV) and assign them to the proper template. One template variable is for podcasts and another for the podcast title. (Do the same for video) The podcast TV is a ’file’, the podcast title is ’text’.

      Make certain you go to manager >> Tools >> Configuration >> File Manager and set the system to allow uploading for the proper file type. (eg: I use .mpg and .mov files)

      Once you have the JS in place - when creating a new document the client will select the proper template and the TV will show up. They simply hit the ’Insert" button next to Podcast, find the file on their computer and upload it.

      By the way, jQuery conflicts with the js in the manager so if you are logged into the manager the files won’t display in your browser on the front-end. You either have to log out or open a different browser to see them.

      There are other methods for doing this, but they mostly work the same. I use jQuery because I use it for other things in most of my sites and it avoids conflicts.
        There are no boring projects. Only boring executions. ~ Etzkorn
        www.impress-design.com