Avoid overwrting plugin changes after update

Avoid overwrting plugin changes after update

by Kordian Wikliński -
Number of replies: 2

Hello everyone.

I'm already working on certificate plugin for my moodle. I already changed graphics at /pix/ folder, but i'm wandering is there any chance to apply this changes without changing those files in /mod/ catalog ?

I'm worry about overwriting my changes after some uptades of the plugin .

Maybe I can manage some changes using theme's config file ?

 

please for understanding, I'm just a begginer and documentation doesn't cover my problem.

Best regards kowis

 

 

 

Average of ratings: -
In reply to Kordian Wikliński

Re: Avoid overwrting plugin changes after update

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

You may override your changes when you update the plugin, if you have edited any of the original PHP files.

If your picture files have different names however then they will not be overridden. If you have created new folders and made changes to those, they will also not be overridden.

Please check the customizing the certificate documentation, if you did not already do so.

http://docs.moodle.org/20/en/Certificate_customizing

Probably you will only need to change some language string settings. So if you just keep a copy of your changes, then updating the plugin, and putting your changes back in, will be not so hard.

Of course, you can often update Moodle without updating the plugin. But it is best to be prepared to update.