Just installed this extra ModxMinify
https://modx.com/extras/package/modxminify but I can't get it to save any groups. EG I press save and nothing happens.
Anybody using this extra and know how to get it working?
Thanks
Content Creator and Copywriter
Could it be related to the issue described here:
https://github.com/Sterc/modx-minify/issues/25
Doh, check the error log, why didnt I think of that.
Basically it seems to be saying it hasn't been created in the db
[2018-01-19 19:59:55] (ERROR @ /home/hotlycom/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement:
Array
(
[0] => 42S02
[1] => 1146
[2] => Table 'hotlycom_hotly.minify_groups' doesn't exist
)
But why?
Content Creator and Copywriter
Content Creator and Copywriter
discuss.answer
I also asked this question on Github and apparently it is a known issue with no solution yet.
So as an alternative I just pasted all my js and css into one file (that's one each) and then minified them using Yslow and Pagespeed over at GTmetrix.
Probably better that way than having an extra do it.
Content Creator and Copywriter
That's definitely faster and more reliable than minifying them on the fly.
Quote from: BobRay at Jan 24, 2018, 12:13 PMThat's definitely faster and more reliable than minifying them on the fly.
The trick of course is to copy and paste them in the order in which they are called on your page.
Content Creator and Copywriter