Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T3 Framework looses layout assignment when the plugin is enabled #8

Open
davidetaddei opened this issue Jun 17, 2015 · 5 comments
Open

Comments

@davidetaddei
Copy link

Hello, I've found another problem with T3 Framework.

It seems that when I enable the plugin T3 looses the additional layout assignment and uses only the predefined one.

My configuration is:

  • Joomla 3.4.1
  • T3 2.4.8
  • MVC Override 1.4.10

Can you help?

@davidetaddei
Copy link
Author

Hello, do you need further details?

@phproberto
Copy link
Contributor

Both plugins override core classes to add their own customisations:
https://github.com/t3framework/t3/blob/master/source/plg_system_t3/includes/core/t3.php#L139-L176
https://github.com/redCOMPONENT-COM/mvcOverride/blob/develop/helper/codepool.php#L41-L84

If the T3 plugin is executed before you will lose mvcOverride features and if mvcOverride is executed before you will lose T3 features.

Both extensions are not compatible.

@davidetaddei
Copy link
Author

I see, thank you. But is there any way to override classes in T3?

@phproberto
Copy link
Contributor

I don't think so. You'd need to develop your custom system plugin to mix the features from both systems so both work as expected. And load it before them.

@davidetaddei
Copy link
Author

Good to know it 👍 Thank you for your advices, I will think of it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants