I’ve just upgraded to MinifyX 2 and I’m not getting the minified .css or .js files - most of the time. Sometimes they show up and then disappear but either way even if they appear to be there, they are not linked to. Modx 2.8.4 PHP 7.4. No errors and no debug info.
I think there is just a bug in the newest version that tries to read the values of the properties &cssPlaceholder and &jsPlaceholder from the wrong place.
But it’s probably a good idea if you open a new issue on github, so that the author of the extra can take a proper look at it.
The minifyJs and minifyCss options have to be set by system settings, since they are used by the plugin too. I am not sure about the placeholder, but it can be the same reason. Please look into the docs too.
The documentation (Usage - MinifyX) lists all four properties (jsPlaceholder, cssPlaceholder, minifyJs, minifyCss) as properties that “can be used in the snippet call”. But all of them are ignored.
Is is theoretically possible to manually add new system settings (minifyx.cssPlaceholder and minifyx.jsPlaceholder) to define the placeholders, but in my opinion this is a bug.
I am currently on vacation and will check that, when I am back. And yes, it looks like a bug for the template options. The minify option is somehow a feature. Maybe it has to be solved/documented different.