We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Do you only want the flash on one page, or on all pages?
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 31227
      • 198 Posts
      well I want a totally flash site and a totaly html site which will actually be 1 site with 2 different headers depended on the choice of the user.
      Can TV Conditional be used for this? http://modxcms.com/TV-Conditional-607.html
      I guess some modification (like the storage of the cookie is required. Can anyone help?
      Or maybe http://www.modxcms.com/forums/index.php?topic=5832 ?
        Pure MODx sites
        Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
        • 31227
        • 198 Posts
        so does anyone know?
          Pure MODx sites
          Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
          • 18436
          • 135 Posts
          I don’t really see how this can be accomplished using one template, I’d in fact use three: one for the initial landing page where you give them the choice of using Flash or not, one that contains the html site template and the last one containing the layout and embedded flash for the flash version of the site.

          It’s pointless giving them the option to switch in between unles you find a way to synchronise the actual page being viewed and the flash content when they switch.

          If you don’t want to bother giving them the choice and just dishing out the flash version when they have the plugin installed then look at implementing swfobject as it replaces a div’s (who’s ID you supply) content with the actual flash object.
            • 31227
            • 198 Posts
            then ill have to duplicate all my docs... pain!
              Pure MODx sites
              Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
              • 18436
              • 135 Posts
              Surely you’d have to do that anyway? Unless you’ve found a way to import modx content into flash? By a Flash site do you mean just a flash header containing the navigation or the entire content within flash?
                • 25663 MODX Staff
                • 12,272 Posts
                There was a demo of MODx content (demo content) running partially inside a flash container, so it is possible. smiley
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 31227
                  • 198 Posts
                  header only
                    Pure MODx sites
                    Viriko.ru & Viriko.com - Multilingual and running on 1 MODx