2

I'm building a site using Pyrocms and am using the Formation class for creating my forms. I'm creating a module and would like to put my formation.php file in the modules config folder, but when I do I get the following error message:

addons/modules/projects/config/formation.php does not contain a valid config array

The form works fine if I put the form definition in system/pyrocms/config/formation.php, but I'd like to keep it in my module folder.

Has anyone done this?

bradym
  • 4,880
  • 1
  • 31
  • 36

1 Answers1

1

You'll need to put that in the main pyrocms config folder.

Phil Sturgeon
  • 30,637
  • 12
  • 78
  • 117