oc-shopaholic / oc-bootstrap-shopaholic-theme

🅱️ Free basic theme based on Bootstrap 4 framework
GNU General Public License v3.0
22 stars 12 forks source link

To October CMS 2.0 in 2021 exists the "The Mix manifest does not exist." problem #49

Open chrigarc opened 3 years ago

chrigarc commented 3 years ago

I tried use the theme but when I open my page the system launch the error The Mix manifest does not exist.

After reviewed the theme code I has fixed the error: "The Mix manifest does not exist." so I did do the next steps to resolved the problem: For these files:

themes/lovata-bootstrap-shopaholic/layouts/content.htm
themes/lovata-bootstrap-shopaholic/layouts/light.htm
themes/lovata-bootstrap-shopaholic/layouts/main.htm

You must change the next lines: $this['path_css'] = mix('css/common.css', 'themes/'.\Cms\Classes\Theme::getActiveTheme()->getDirName().'/assets'); $this['path_js'] = mix('js/common.js', 'themes/'.\Cms\Classes\Theme::getActiveTheme()->getDirName().'/assets');

to these lines: $this['path_css'] = mix('css/common.css', 'themes/'.\Cms\Classes\Theme::getActiveTheme()->getParentTheme()->getDirName().'/assets'); $this['path_js'] = mix('js/common.js', 'themes/'.\Cms\Classes\Theme::getActiveTheme()->getParentTheme()->getDirName().'/assets');

that worked for me

lautsevich commented 3 years ago

@chrigarc, hi! Thx for the provided solution! Could you please send a PR with these changes?