Jump to:

10854 Posts in 2518 Topics by 1794 members

All other Modules

SilverStripe Forums » All other Modules » Problem with UserForms Module

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 1656 Views
  • neddyf
    Avatar
    Community Member
    2 Posts

    Problem with UserForms Module Link to this post

    Hello,

    I made an update to silverstripe 2.3.1 an found that userforms has to be integrated as module.

    So I downloaded from trunk (yes, and renamed to 'userforms' in the SilverS-Root-Dir) and started /dev/build.

    Now I find new page-type user-defined-form and can create.

    => BUT the "Form"-Tab only shows this two rows at the beginning
    => MISSING the area where to drop the fields (as shown on the picture of the module-page and as I saw in SilverS 2.2)

    * Add: * Text * Checkbox * Dropdown * Radio * Email * Heading * Date * File * Checkboxes * Member List
    => MISSING AREA
    * Add: * Text * Checkbox * Dropdown * Radio * Email * Heading * Date * File * Checkboxes * Member List

    (Javascript is enabeld. All other things work.)

    I installed a new Instances, same result everytime
    Do you have any ideas ?

    Thanks a lot for helping.
    Ned

  • UncleCheese
    Avatar
    4085 Posts

    Re: Problem with UserForms Module Link to this post

    Mine seems to be missing the stylesheet ever since I upgraded to 2.3 and used the module. Just a bunch of unstyled links in lieu of the buttons that used to be there. Anyone else?

  • CriaturaCreativaStudio
    Avatar
    Community Member
    73 Posts

    Re: Problem with UserForms Module Link to this post

    i'm having the same problem here, the GUI (drag an drop items, fields, etc) doesn't work, i only read text labels. When i click on them, nothing happens...

  • The Serch
    Avatar
    Community Member
    1 Post

    Re: Problem with UserForms Module Link to this post

    SOLVED!

    I don't you know if you (CriaturaCreativaStudio) were having the same issue (the Form tab is there and you can see the type of fields to add but when you clicked them nothing happens....) .

    The thing was it was not loading the FieldEditor.js file which animates this panel and it was because I placed userforms folder under mysite folder.

    BAD:
    root
    |--> /mysite
    |--> /userforms

    Instead, put it on the same level as your site folder

    RIGHT:
    root
    |--> /mysite
    |--> /userforms

    Once this is done, run /dev/build again

    I hope this works

  • UncleCheese
    Avatar
    4085 Posts

    Re: Problem with UserForms Module Link to this post

    Hmm.. yeah, it certainly doesn't belong in the mysite folder. I've got it in the right place. Nice to know it's a JS issue, though. At least now I know where to look.

  • craigrg
    Avatar
    Community Member
    2 Posts

    Re: Problem with UserForms Module Link to this post

    Can any one tell me how to fix this problem? not very good with JS

  • Bluefruit
    Avatar
    Community Member
    6 Posts

    Re: Problem with UserForms Module Link to this post

    Rename the module folder to 'userforms' and locate it in the root directory (not mysite).

    Done the trick for me anyway!

  • neddyf
    Avatar
    Community Member
    2 Posts

    Re: Problem with UserForms Module Link to this post

    The JS is embedded:
    ..
    <script type="text/javascript" src="http://localhost/myproject/userforms/javascript/FieldEditor.js?m=1229310604"></script>
    ..
    And "userforms" (renamed to) is in the root-directory of the Installation.

    .. but still not working.

    1656 Views
Page: 1 2
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.