I'm currently using OpenCart version 3.0.3.8 and made some modifications to my .twig files. However, after some time, I noticed that the changes reverted to the default versions. Could you please explain why this is happening and how I can ensure that my modifications are retained?
Where did you make the changes ?
Have you checked the error logs to see if you installed an extension that conflicts with your changes ?
Are you using OCMOD and/or VQMOD together with the built in theme editor ?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
ie
OCMOD
FTP
VQMOD
THEME EDITOR
Maybe you made changes to the files in the modification folder?
?
?
There is nothing wrong with OC3.0.3.8 - tell us what you have done and we can tell you how to do it right
Re css -
If your css is not "taking" you have not refreshed cache.
If it is "reverting" then you have a problem with an extension.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
common/menu or common/header files
I haven't installed any extension yet
I don't quite understand this part
Are you using OCMOD and/or VQMOD together with the built in theme editor ?
I just edited the twig files in theme editor
maybe I should edit them in another directons
Thank you again for your reply
Are the edits still in the theme editor?
Are you sure you have not reset the theme editor (ie that will clear your changes)
As virus said - the only other option is not to use it at all and learn how to write OCMODs, but moving stuff around is likely to be quite a big task for you.
1. Check your admin => extensions => installer
2. Check your admin => extension => modifications - In modifications there is a log tab.
3. Check both admin and root config.php are correct.
4. Check your theme settings correct in admin => systems => settings => edit settings page.
5. Delete theme cache via the settings icon on the top right of the dashboard.
You can also try
https://www.opencart.com/index.php?rout ... n_id=36203
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Theme editor
OCmod
VQmod
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Nah just remove the theme editor entirely from it.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: Google [Bot], paulfeakins and 50 guests