We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    Here’s a screencast showing some of the new drag/drop features we’ve added in MODx Revolution 2.0.0-beta-2 (and in SVN):

    http://modxcms.com/assets/videos/dragdrop.mov

    Enjoy.
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That’s really impressive shocked
        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
        • 28033
        • 925 Posts
        Wow, that is pretty neat. I could see myself having some fun uses for that. wink
          My Snippets
          -> PopUpChunk v1.0
          • 7231
          • 4,205 Posts
          I saw this the other day, and this cast is even better...very cool feature. I am blown away at how cool this is. grin grin
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            This brings a question to mind... can snippet code contain MODx tags now, or do you have to use functions to run a snippet in code?
              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
              • 28215
              • 4,149 Posts
              Quote from: sottwell at Jun 22, 2009, 02:12 PM

              This brings a question to mind... can snippet code contain MODx tags now, or do you have to use functions to run a snippet in code?

              No. Snippet code is PHP code only. You’ll have to use functions (and properties) do to so in a snippet.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Ok, so what happens if you drag a snippet element into snippet code? Is it smart enough to know that since it’s snippet code it has to be a function call instead of snippet tags?
                  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
                  • 29076
                  • 615 Posts
                  This is getting not better and better, but more and more fantastic!

                  Another question: is it possible to get the snipper parameter popup box again? Lets say you want to ajust the parameters for the snippet, via the popup.
                    I think, thererfor I am! But what I am, and why...?
                    • 28215
                    • 4,149 Posts
                    Quote from: sottwell at Jun 22, 2009, 02:20 PM

                    Ok, so what happens if you drag a snippet element into snippet code? Is it smart enough to know that since it’s snippet code it has to be a function call instead of snippet tags?

                    Sort of - it wont let you drop elements into snippet/plugin code.
                      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                      • 28215
                      • 4,149 Posts
                      Quote from: Sylvaticus at Jun 22, 2009, 02:37 PM

                      Another question: is it possible to get the snipper parameter popup box again? Lets say you want to ajust the parameters for the snippet, via the popup.

                      Unfortunately, no. That would require a lot of extra JS per page load (to do the functionality required for that) and would be near-impossible to get it to work in other RTEs.

                      A side note, RTE’s such as TinyMCE will have to implement their own handlers for using drag/drop into them. TinyMCE, like most, poses a problem because it uses IFRAMEs, which dont handle drag/dropping very well (security reasons). (iow, tinymce currently doesnt support this - only the standard textfield does at this time.)
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com