Hello everyone! I'm making a new site with MODX and I've downloaded the latest version of MinifyX.
I've encountered a very peculiar problem.
As MinifyX says in the documentation, to link some files you need to specify the location of each file in order to compress and join. Ok let's do it.
I've created a System Settings in my new Namespace for the css directory Path, something like this:
mynamespace.mycssDirPath = {assets_path}components/nameofmynamespace/css/
then I've called MinifyX like this:
[[!MinifyX?
&cssSources=`[[++mynamespace.mycssDirPath]]/menuTop.css`
...
...
]]
That's sound great, but when I try to see if it works I found a funny problem in Manager Log.
[MinifyX] File does not exist:
/web/htdocs/www.mydomain/home/assets/components/menuTop.css
MinifyX has deleted from the path all the directories named like my namespace :|
The right path should be:
/web/htdocs/www.mydomain/
mynamespace/home/assets/
mynamespace/components/menuTop.css
If I try to print the system setting that I've created it works!
So I try to put raw string in MinifyX:
[[!MinifyX?
&cssSources=`nameOfMyNamespace/menuTop.css`
...
...
]]
The result was the same:
[MinifyX] File does not exist:
/menuTop.css
Any idea??? xD
I'm disappointed
Any help is appreciated