Jump to content

Recommended Posts

Posted

Hello and Happy New Year to everyone,

I'm trying to implement module configuration fields in an Inputfield Module following Ryan's blog post https://processwire.com/blog/posts/new-module-configuration-options/

Is this supposed to work for all modules?

My module extends InputfieldCheckboxes.
This is the structure of my module folder:

2017-01-01 15:11:18.png

The InputfieldCheckboxesDependenciesConfig.php is not being picked up at all.

When I configure it the old way with ___getConfigInputfields(), it is working.

Posted

Happy New Year too!

getConfigInputfields is not the same as module configuration, it's a mechanism of the Inputfield class.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...