For one of my extensions I need to make a change to a file from the Journal2 theme but the file is located in the system folder.
I can't seem to get this working. Is it even possible?
All my extensions: Click here or Click here
seems to be the index.php file(s), other vqmods

Ernie
Code: Select all
<file name="system/library/user.php">
<operation>
<search position="after" offset="1"><![CDATA[public function login]]></search>
<add><![CDATA[$user_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "user WHERE LOWER(username) = '" . $this->db->escape(strtolower($username)) . "'");]]></add>
</operation>
</file>
Attachments
vqmod_system_file_changes.jpg (97.99 KiB) Viewed 329 times
Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'750 FREE OC Extensions on the World's largest Github OC Repository Archive Site.
Or could it be because the file is in a folder which doesn’t come with opencart by default?
All my extensions: Click here or Click here
to NOT be accessable by other 'internal' sources.
Ernie
Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'750 FREE OC Extensions on the World's largest Github OC Repository Archive Site.
I can change files in system/journal2
But files (php) located in system/journal2/classes aren’t affected.
All my extensions: Click here or Click here

Ernie
https://docs.journal-theme.com/#/home
Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'750 FREE OC Extensions on the World's largest Github OC Repository Archive Site.
Users browsing this forum: No registered users and 0 guests