I am working on a website on Opencart with the journal theme and i'm trying to add a preloader to it do you know what files to edit to insert it?
i tried to look for it into the /catalog/view/theme/journal3/template/journal3
You can add your code to
catalog/view/theme/journal3/template/common/header.twig
but you should make your modification as ocmod file and upload it to the system throuth modification part in the admin panel.
You may have a look at this article about ocmod in opencart3:
https://webocreation.com/blog/opencart-3-ocmod-coding-tutorial/
Related
I have a simple ocmod.xml for my opencart 2.3 application.
I've uploaded the changes but now I need to modify it.
Instead of reinstalling the new version, how can I quickly modify it and refresh modification during development?
Where is the file located?
If you uploaded the file via the admin end then it will be stored in your MySQL database. Under modifications table in the database and the xml row in the table you will see it. If you edit it there then clear and refresh the modifications you will see the changes.
You can also do it we try a new miss called an ocmod manager. This all is you to edit from admin for opencart 2x or for opencart 3x
I am trying with module but it doesn't work. how to add in pages. I am new to opencart.
Navigate to that specific page, should be found under Catalog > View > Theme > {page you looking for). Check within the code for the section you would like to add it to and paste it in.
Remember to backup the files before you make changes to the core files.
Opencart 2.0.1.1
Standart Image Manager isn't working.
When I choose some picture, it just opens in the browser, in console I have no errors. Any suggestions?(other functions don't work either, for example reload open image manager without css)
Please someone help)
My js in .tpl doesn't work because my hosting turned on some plugin pagespeed that off scripts in views -_-
Solution:
Add this pagespeed_no_defer="" to script and it will work.
Here's the scenario:
Fresh install of Open Cart. Fresh install of vQmod. Everything is working fine. But when I upload certain theme - purchased and licensed - the site has an issue. The home page is working, but the product page goes blank.
I have tried all possible combinations of OpenCart and vQmod versions (except for 2.0 for OC because the theme doesn't support it yet). I am out of ideas.
Edit: After showing all errors as adviced I finally saw the reason : "oc_product_tab' doesn't exist"
I found a solution. It turned out that the "Extra Product Tabs Opencart Extension" is missing. This is a standart free plugin that comes with template theme but it wasn't configured. It turnes out that the theme works with it.
Go to system>users>user groups and select all for both access and modify. Save. Than go to Catalog menu and click on Extra product tabs. Click Insert and add the module. That’s it. It’s a standard opencart module which is free for use.
Is it possible to find any open source template editors.. i wanted my site users to edit the contents of module as well as css. Once they click the edit, it should open a specific module or file name.. so the users can change the css and content and then click ok. Then after refresh the change in css and content should be reflected..
I am looking for something similar to the one in Wordpress Admin panel..where you can edit different files like header.php, style.css etc..
Any available scripts or demos or plugins or examples would be very helpful, as i can customize them to my needs
You can use html editor like fckeditor or tinymce and on server side save as php file and css file.
I on my site use JQuery rte editor and JSON RPC (Ajax -> PHP).
Finally i figured out the answer.. Some of them are
Bespin,
Ecoder
Ymacs
codemirror
emacs
they allow you to embed in your site.. and allow the users to edit the template of pages.