Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » UserForms & Foundation

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 197 Views
  • Daswede
    Avatar
    Community Member
    2 Posts

    UserForms & Foundation Link to this post

    Hi all,
    Brand new to Silverstripe (and new-ish to PHP). I've got a Silverstripe 3.1 instance set up and working properly with a single exception.

    I use the Foundation theme, the Foundation Forms module and the UserForms module, but my simple UserForms page is messed up. When viewing the source and trying to get to any themed CSS or JS file, I get the following error (The paths to the JS and CSS files are correct, but they don't seem to be accessible):

    Action 'themes' isn't available on class UserDefinedForm_Controller.

    Looking at a different thread (http://www.silverstripe.org/general-questions/show/25965), I modified the UserDefinedForm_Controller to add:

    private static $allowed_actions = array(
       'index',
       'ping',
       'Form',
       'finished',
       'themes'
    );

    Then I did a /dev/build and then /flush=all, but that doesn't change anything. Any ideas?

  • Daswede
    Avatar
    Community Member
    2 Posts

    Re: UserForms & Foundation Link to this post

    Nevermind, I fixed it.

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