juliopontes / joomla-override

Plugin to Override Joomla Extensions (Modules and Components)
19 stars 17 forks source link

Does not work with T3 Framework #22

Open davidetaddei opened 9 years ago

davidetaddei commented 9 years ago

Hello, if enabled on a T3 Framework Joomla! installation generates the following error:

( ! ) Fatal error: Call to undefined method JModuleHelper::addIncludePath() in plugins/system/joomlaoverride/helper/codepool.php on line 187

Is there any solution?

juliopontes commented 9 years ago

what version of joomla and t3?

davidetaddei commented 9 years ago

Joomla! 3.4 and T3 2.4.4 Upgrading to T3 it changes the error:

( ! ) Fatal error: Class 'TView' not found in /var/www/ptx.local/plugins/system/joomlaoverride/helper/override.php(116) : eval()'d code on line 19

This seems to be caused by ADS Manager Component. Including the TView class:

require_once (JPATH_SITE.'/components/com_adsmanager/lib/core.php');

I receive a new error:

Call to undefined method JViewLegacy::addViewHelperPath() in /var/www/ptx.local/plugins/system/joomlaoverride/helper/component.php on line 196

This seems to be related again with T3, since the JViewLegacy class declared in plugins/system/t3/includes/joomla30/viewlegacy.php file has no addViewHelperPath() method.

Any idea how to fix it?