This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Hard

  • **
  • 6 posts
Modifiers
« on: August 15, 2021, 01:05:21 PM »
Good afternoon. I'm surprised that so far no one has suggested using modifiers in the engine. I explain that modifiers are a kind of modules that allow you to make changes to the functionality or appearance without affecting the original files. This ensures the immutability of the engine files, but at the same time you can change or add functionality. Similar modifiers can be found in many cms, I still know the opencart and dle. Sincerely...
P.S. Sorry for my english ::)
« Last Edit: August 15, 2021, 01:09:59 PM by Hard »

*

MB Themes

Re: Modifiers
« Reply #1 on: August 16, 2021, 09:33:28 AM »
@Hard
Basically from theme point of view, you can use child themes. In regards to plugin files, this is not possible right now.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hard

  • **
  • 6 posts
Re: Modifiers
« Reply #2 on: August 20, 2021, 02:23:26 PM »
@Hard
Basically from theme point of view, you can use child themes. In regards to plugin files, this is not possible right now.
What exactly is impossible? Indicate the path to the file and write which support to perform and in what place? For example:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<modification>
 <id>Example of the vQmod</id>
 <version>1.0</version>
 <vqmver>2.X</vqmver>
 <author>Tuts+</author>
 <file name="targetfile.php">
 <operation info="Example of the vQmod">
 <search position="replace"><![CDATA[
 I am original content.
 ]]></search>
 <add><![CDATA[
 I am replaced content!!
 ]]></add>
 </operation>
 </file>
</modification>

*

MB Themes

Re: Modifiers
« Reply #3 on: August 21, 2021, 09:42:11 AM »
@Hard
Sure, let's do it and let us know once ready for testing.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by Hard on August 23, 2021, 02:41:58 PM
*

tomi327

  • ***
  • 66 posts
Re: Modifiers
« Reply #4 on: August 21, 2021, 11:13:18 AM »
VQMod for osclass. I do know if it is fully working. Lets try.

https://github.com/codexilab/osclass-vqmod

*

MB Themes

Re: Modifiers
« Reply #5 on: August 22, 2021, 01:43:47 PM »
Well, looks like it is developed by this person, but looking on his work,it seems he just copy work of others.

Anyway, you can download plugin and work with it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots