Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » userforms

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1296 Views
  • studio6
    Avatar
    Community Member
    14 Posts

    userforms Link to this post

    i have set up userforms in my root and dev/build?flush=1 but I go to the forms tab and click the button to add any type of field and the page reloads to a completely blank page. i cant work out why this is can anyone help me

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: userforms Link to this post

    Hi ftw, more information would help.

    What version of SilverStripe and what version of UserForms?

    Have you tried reloading the admin interface with a flush - admin?flush=1. Is your site running in live mode or devmode? You can also try and disable combination of files (which sometimes causes trouble) by adding

    Requirements::set_combined_files_enabled(false);

    In your _config.php file.

  • studio6
    Avatar
    Community Member
    14 Posts

    Re: userforms Link to this post

    im running ss 2.4 and i think im running forms 0.2 i just got the download from the getting started page i try add Requirements::set_combined_files_enabled(false); but nothing you can see the site at hookbins.co.nz its live

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: userforms Link to this post

    For SilverStripe 2.4 you will need UserForms 0.3. You can download the latest version from http://silverstripe.org/assets/modules/trunk/userforms-trunk-r106720.tar.gz

  • darksist
    Avatar
    Community Member
    1 Post

    Re: userforms Link to this post

    Hi,

    i'm allready using userforms but i need get and record submitters ip address (will be other browser, referer etc. data)

    Is it possible?

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: userforms Link to this post

    Yes, decorator the SubmittedForm object and add the fields you want. Populate those fields when you do a onAfterWrite() on a SubmittedForm object. See the documentation on decorators for more information

    http://doc.silverstripe.org/sapphire/en/reference/dataobjectdecorator

  • Naren
    Avatar
    Community Member
    21 Posts

    Re: userforms Link to this post

    Hi all,

    I have installed silverstripe latest and installed the userform module.

    After installation I am getting below mentioned error while login in to admin and can not login on that.

    Fatal error: Access level to UserDefinedForm::$db must be public (as in class Page) in /home/sproncoc/public_html/newsite/userforms/code/model/UserDefinedForm.php on line 402

    Please let me know how to fix this error.

    Thanks in advance

  • Willr
    Avatar
    Forum Moderator
    5483 Posts

    Re: userforms Link to this post

    You have the wrong version of user forms. Master is for 3.1, use branch 1.0 for 3.0, https://github.com/silverstripe/silverstripe-userforms/tree/1.0

    1296 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.