*

Brandso

  • ****
  • 108 posts
What is best way to update Osclass, Themes & Plugins?
« on: May 16, 2022, 12:34:27 PM »
Hi, since I am not sure how to update Osclass, Themes & Plugins, whenever I get any new update I just download the new update from its respective page and then upload it which overrides the existing files. But the problem is say if I have multiple files that I edited by removing and changing things that I don't need and whenever I update all these things come back and I have to then edit each and every file one by one. Example in footer.php I entered some information, in item.php I made some changes and this way I have lots of small changes made with multiple theme files as per my requirement. But in this case when I update my theme all the changes that I made gets replaced with the updated version and then I have to individually make changes with every files by referring my previous backup which is very hectic when there is a new update very often. I think making a child theme should help here as per the documentation which I have seen but since I am not sure how to make it and add it on the server I just ignored that. So can you tell what's the simplest way for updating Osclass, Themes & Plugins where my existing changes won't affect or there is no other way and I have to make all the changes every time I update?

*

MB Themes

Re: What is best way to update Osclass, Themes & Plugins?
« Reply #1 on: May 16, 2022, 01:08:56 PM »
@Brandso
Best scenario:
- do not do custom updates to plugin
- create child theme
- use external file in child theme to address your functional modifications
- create custom blank plugin to address functional modifications

In 8.0.3 we plan to add support into:
- custom plugin files (i.e. if you place custom.php into into plugin folder, it gets auto-loaded)
- custom theme files (this is not too clear yet, maybe partial replacement of files will be enabled. I.e. if you enter user-register.php under folder custom in theme, it replace original user-register.php)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Brandso

  • ****
  • 108 posts
Re: What is best way to update Osclass, Themes & Plugins?
« Reply #2 on: May 16, 2022, 04:01:35 PM »
Thanks for replying. Everything that you said just got bounced over my head. I think I should stick with what I am doing right now, its very lengthy procedure but here I know what I have to do. As the answer that you gave might be easy for a developer to understand who already have coding knowledge but hard for a person like me to understand. Will wait for the Osclass 8.0.3 update and see if that helps. Thank you again for your time.