Osclass Support Forums

General osclass questions => Feature request => Topic started by: Hard on August 15, 2021, 01:05:21 PM

Title: Modifiers
Post by: Hard 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 ::)
Title: Re: Modifiers
Post by: MB Themes 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.
Title: Re: Modifiers
Post by: Hard 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>
Title: Re: Modifiers
Post by: MB Themes on August 21, 2021, 09:42:11 AM
@Hard
Sure, let's do it and let us know once ready for testing.
Title: Re: Modifiers
Post by: tomi327 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
Title: Re: Modifiers
Post by: MB Themes 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