Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » userforms : drag and drop not working

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2105 Views
  • DsX
    Avatar
    Community Member
    178 Posts

    userforms : drag and drop not working Link to this post

    I am setting up my first form using the userform module.. (great mod by the way)
    only problem I have is that the drag and drop is not working (I have the latest release and SS 2.4)
    Is there something I need select to get it to work (like the site-tree maybe)?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: userforms : drag and drop not working Link to this post

    Glad you like the module! Drag and drop should work out of the box I'm getting some feedback of Javascript errors on sites in live mode because of the combined files. Try disabling that using..

    Requirements::set_combined_files_enabled(false);

    In your _config.php file. Make sure you are using the latest release of UserForms (0.3) if you are using SS2.4

  • DsX
    Avatar
    Community Member
    178 Posts

    Re: userforms : drag and drop not working Link to this post

    that did it!

    now, is that going to cause any performance issues for me... I am guessing that setting changes how files are delivered to the browser.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: userforms : drag and drop not working Link to this post

    Not really, it only compresses them for the CMS and the benefit (unless you have a really really slow connection) will be a second or 2 when accessing the cms.

  • edk
    Avatar
    Community Member
    39 Posts

    Re: userforms : drag and drop not working Link to this post

    Hi Willr,

    Will disabling combined files affect you if you also want to combine files on the "site front-end"?

    Thanks,
    Ed

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: userforms : drag and drop not working Link to this post

    If you have configured combined files on the front end then yes it would. I believe I have found the cause of some of the drag and drop issues. http://open.silverstripe.org/ticket/5738 so disabling the combined files may not fully fix it (but refreshing the page will).

  • edk
    Avatar
    Community Member
    39 Posts

    Re: userforms : drag and drop not working Link to this post

    Thanks for the prompt reply. I did the refresh page thing once the form had loaded, and as you said it was fine. I think it is better to tell the client that fix for now as opposed to sacrificing the file combination benefits.

    Thanks again for a great Module. It is so great sitting with a client walking through the CMS and showing how simple it really is to create forms.

    -Ed

    2105 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.