Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / problems with override plugin for models and views

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

problems with override plugin for models and views

More
11 years 7 months ago #10397 by puntotsx
Hello, I need to customize some classes of ADS Manager using override plugins and I'm getting errors using them.

Please check the following issues on Github:

1) github.com/ghazal/plg_mvcoverride/issues/2
Is the provided solution correct? Do you think there is a better way to do it?

2) github.com/ghazal/plg_mvcoverride/issues/5
Here we I still didn't find a solution. Please let me know if there is another way to override the model even using other plugins.

Best regards.
The following user(s) said Thank You: adarr
More
11 years 7 months ago #10411 by loic
Hello,

The model are not overridable with Joomla, only the views.

What is this plugin mvcoverride you are using ? What is it purpose ?
Is it this plugin that cause the problem ?

Best regards.
The following user(s) said Thank You: adarr
More
11 years 7 months ago #10444 by puntotsx
Hello, the plugin I'm using is:
github.com/ghazal/plg_mvcoverride/

In this official guide:
docs.joomla.org/How_to_override_the_comp...rom_the_Joomla!_core

you can find several ways to override models, views and controllers, some plugins can help you:

extensions.joomla.org/extensions/extensi...ting/plugin-override
github.com/ghazal/plg_mvcoverride/
github.com/redCOMPONENT-COM/mvcOverride

My choice of ghazal plugin is because I've found less confflics with than with other ones, please check this issue:
github.com/juliopontes/joomla-override/issues/22

I need to add some methods to the MVC classes, at the moment I'm solving overriding the View classed but for other requirements of my project I could be in need to customize even Models, Controllers and Module classes, so I would like to know which is the best way to do it without modifiying core files.

Hope you can help me :-)
The following user(s) said Thank You: adarr
More
11 years 7 months ago #10461 by tompap
Hello,

Yes I know mvc_override. At the beginning I was thinking it was a good idea. but finally it's hard with plugin like that to be sure it will work everywhere and also it's hard after for support.

If you really need to add code in model (check first if you cannot do this with a adsmanager plugin, otherwise with a "system plugin". After that, Hack the code with some comments around. And if you need to upgrade you will do the merge.
The following user(s) said Thank You: adarr
Time to create page: 0.055 seconds
Powered by Kunena Forum