We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Hi is it possible to add Flash to the list of Template Variable options? Currently there are all the text / image and drop-down list items etx - how could one add in Flash as an option here?

    Cheers

    dubbs.
      • 10927
      • 15 Posts
      Go to your configuration tab and add .swf to the accepted file types then it will work
        • 8168
        • 1,118 Posts
        Thanks - I got this working in the end by hacking the core to use the input type ’File’ but changed the php config file to point to the Flash folder rather than the ’Files’ folder on the server. This then allows people to use the ’TV’ to select flash files form the Flash folder. Not sure how
        Go to your configuration tab and add .swf to the accepted file types then it will work
        would work? This would not change the default folder that is shown when a user clicks to browse for a file...?

        MODx peeps - for future releases It would be great to allow when creating a Template Variable the ability to select what type of media you want the TV to be able to insert, currently there is only support for ’Image’


        Cheers dubbs.
          • 26931
          • 2,314 Posts
          is this of any help?
          "mm_allresourcetypes for ManagerManager" http://modxcms.com/extras/package/584
            • 8168
            • 1,118 Posts
            Quote from: sharkbait at May 01, 2010, 01:44 PM

            is this of any help?
            "mm_allresourcetypes for ManagerManager" http://modxcms.com/extras/package/584

            Looks ideal! Shame its not part of the default build!

            sotwell - have a look at this - should sort your needs out too!



            dubbs.