I'm great with vqmods, haven't clue on ocmod.
How do you change one like the file it effects (my custom template instead of default), or change the position of something it adds to a template, etc?
After you install the ocmod thru the modification installer, what happens? Is there a folder similar to the vqmod/xml one somewhere these files go into that I can edit them to make simple changes like the above?? Been looking all over the place and cannot seem to find anything like this.
How do you change one like the file it effects (my custom template instead of default), or change the position of something it adds to a template, etc?
After you install the ocmod thru the modification installer, what happens? Is there a folder similar to the vqmod/xml one somewhere these files go into that I can edit them to make simple changes like the above?? Been looking all over the place and cannot seem to find anything like this.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Answering the subject of this post: simply use an editor ...
Okay back to what you want to know.
1. code of OCMods are stored in the database (see table modification)
2. important differences of the code are:
2.1 use path instead name, e.g.
2.2 usage of the xml.tag code as identificator (must be unique) e.g.
2.3 positions are added at the add tag (was before search) e.g.
3. if you want to have a link back to the creator, use the xml.tag link in the header e.g. (will be displayed at the ocmods-summary)
4. editing a ocmod could be done - without any additional tool - only directly in the database (if you want to have a tool to make edits through the admin interface, just pm me)
5. important: OCMods can be dis- and enabled through the admin interface (while vqmods have to be dis- & enabled by FTP or additonal tools like VQMod-Manager)
6. finally: after dis- or enabling any ocmod, the button Refresh has to hit (will clear also cached files)
That are the most basic differences, if I forgot one maybe someone can add it.

Okay back to what you want to know.
1. code of OCMods are stored in the database (see table modification)
2. important differences of the code are:
2.1 use path instead name, e.g.
Code: Select all
<file path="admin/view/template/setting/setting.tpl">
Code: Select all
<code>name_of_the_mod</code>
Code: Select all
<add position="after">
Code: Select all
<link>https://mysite.com</link>
4. editing a ocmod could be done - without any additional tool - only directly in the database (if you want to have a tool to make edits through the admin interface, just pm me)
5. important: OCMods can be dis- and enabled through the admin interface (while vqmods have to be dis- & enabled by FTP or additonal tools like VQMod-Manager)
6. finally: after dis- or enabling any ocmod, the button Refresh has to hit (will clear also cached files)
That are the most basic differences, if I forgot one maybe someone can add it.
Last edited by OSWorX on Tue Jul 12, 2016 11:57 pm, edited 1 time in total.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
ah thank you. the part about it being stored in the database is what I was missing
Kept trying to find it in the files like vqmods do. Now it makes much more sense.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Who is online
Users browsing this forum: No registered users and 3 guests