Jump to content

Recommended Posts

Posted

Shouldn't a module add a .css or .js named same as the module automaticly?

It strikes me again, that I added a ModuleName.css to the module folder assuming it get's added automaticly, but it does not. Not first time I struggle with something that should be simple. :)

Edit: The module is autoload and is extends WireData implements Module. (of course in the admin, not frontend. In case anyone wondering)

Posted

Modules that extend Process, Inputfield or ModuleJS automatically add any .css or .js files of the same name in the same directory as the .module file.

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