Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

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

UserForms & Foundation


Reply

2 Posts   214 Views

Avatar
Daswede

28 February 2014 at 4:25am Community Member, 2 Posts

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?

Avatar
Daswede

28 February 2014 at 7:21am Community Member, 2 Posts

Nevermind, I fixed it.