straightlight wrote: ↑Fri Jun 19, 2020 7:57 pmWe don't copy over the core!letxobnav wrote: ↑Fri Jun 19, 2020 8:50 amremove the version from the theme editor.And if I decided to stop using Theme Editor from now on, what I should do to make it work for an external editor/FTP approach (my scenario B)?
If you need to keep those changes, save the source and put it in an ocmod or copy it over the core.
In the end, keep your theme table empty.
Create new event files would be an alternative solution.
Hi straightlight, can you elaborate about how to create new event files? I thought everything we talked about are just some .twig files on the server, but it seems there's a cache system that confused most people.
Of course, followed is the wiki documentation on how to proceed with the Events: https://github.com/opencart/opencart/wiki/Events-System .oc2020 wrote: ↑Fri Jun 19, 2020 10:23 pmHi straightlight, can you elaborate about how to create new event files? I thought everything we talked about are just some .twig files on the server, but it seems there's a cache system that confused most people.
straightlight wrote: ↑Fri Jun 19, 2020 7:57 pmWe don't copy over the core!
Create new event files would be an alternative solution.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks for the info! Forgive me if I repeat the question, but this is what opencart designed for users:
1. People understand using twig files to adjust the page layout, and these twig files are text files saved on the server like all other files (CSS, php, HTML, js,etc)
2. Some people saw the theme editor and thought this is simply another way to edit the text files.
3. Some experts pointed out the theme editor is not as convenient as expected and not suggested to use.
4. There's no simple way to go back to the beginning -- ignore the theme editor and use an external text editor to change the twig file.
5. The only safe way being suggested is to use some advanced techniques based on events.
Am I the only one who feels this could b a little more user-friendly?
1. People understand using twig files to adjust the page layout, and these twig files are text files saved on the server like all other files (CSS, php, HTML, js,etc)
2. Some people saw the theme editor and thought this is simply another way to edit the text files.
3. Some experts pointed out the theme editor is not as convenient as expected and not suggested to use.
4. There's no simple way to go back to the beginning -- ignore the theme editor and use an external text editor to change the twig file.
5. The only safe way being suggested is to use some advanced techniques based on events.
Am I the only one who feels this could b a little more user-friendly?