redCOMPONENT-COM / mvcOverride

Joomla System Plugin that allows overriding any class in Joomla, see: http://redcomponent-com.github.io/redCORE/?chapters/mvcoverride/overview.md
6 stars 17 forks source link

joomla 3.8.0 issue #22

Open alex-equities opened 7 years ago

alex-equities commented 7 years ago

Just upgraded to joomla 3.8.0 and getting this error

Fatal error: Call to undefined method Joomla\CMS\Helper\ModuleHelper::addIncludePath() in /var/www/html/site/cms/plugins/system/mvcoverride/mvcoverride.php on line 97

alex-equities commented 7 years ago

Fixed by replacing line#109 of \cms\plugins\system\mvcoverride\mvcoverride.php JModuleHelper::addIncludePath($codePool . '/modules'); with JModelLegacy::addIncludePath($codePool . '/modules');

but now getting

Fatal error: Call to undefined method Joomla\CMS\Helper\ModuleHelper::addIncludePath() in /var/www/html/site/cms/plugins/system/mvcoverride/mvcoverride.php on line 118

arkadoo commented 7 years ago

Hi Alex. Did you solved? I'm getting crazy with this..

arkadoo commented 7 years ago

Noticed that in J3.8.0 libraries/legacy folder many folders are missing from 3.7.5. For example the View and Module folder there are needed for MVC override plugin. addViewHelperPath and addViewTemplatePath are defined in libraries/legacy/view/legacy addComponentFormPath is defined in libraries/legacy/model/form.php, while JModuleHelper is defined in libraries/cns/module/helper.php. All these folders ARE MISSING in J3.8.0 distribution. Restoring them from 3.7.5 all is working regularly I hope in next distribution all is corrected

alex-equities commented 7 years ago

It's very interesting that nobody from "redCOMPONENT" hasn't responded. I installed the plugin because it made by redCOMPONENT-COM. Such a bummer :(

jatitoam commented 7 years ago

Hi guys, we are actually working in 3.8.0 compatibility, we will have news soon. Thanks for the feedback.

arkadoo commented 7 years ago

Hi thank you. I solved restoring temporarly folders legacy in libraries folder, but J380 has changed location of these libraries below libraries/src folder. Can you gently send me fix/new version when ready? Thank you. Ciao Alberto

Inviato da Libero Mail per Android Venerdì, 29 Settembre 2017, 07:49PM +02:00 da Tito Alvarez notifications@github.com :

Hi guys, we are actually working in 3.8.0 compatibility, we will have news soon. Thanks for the feedback. — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .

shandak commented 7 years ago

Hi, guys. Please join to check new changes here https://github.com/redCOMPONENT-COM/mvcOverride/pull/23 for Joomla 3.8 compatibility.

arkadoo commented 7 years ago

Hi. There is something downloadable? Thanks

jatitoam commented 7 years ago

We will make a release as soon as it passes tests