I have installed Journal 2 theme in an opencart installation. I want to edit the checkout.tpl to display the product's category name. I edit the file
view/theme/journal2/template/checkout/checkout.tpl
but it seems that this is not the file because every change I make doesn't appear. I have enabled one page checkout in journal2.
You are editing the wrong file. You should edit the checkout.tpl file found on the following path:
/catalog/view/theme/journal2/template/journal2/checkout/
Related
Id like to know the relevance of what-input.min.js include in Zurbs foundation-6 framework , in the js/vendor directory , this is because i keep getting an 404 not found error not loading while running the site , ... js/vendor/jquery.min.map file , is there any connection ?
You don't need the .map file which is used to map a minified file back to the original. It is available for download from jquery's site. Source maps are can be ignored in inspector settings which makes sense when you don't plan on debugging minified javascript files
It is unrelated to the source map file 404 but what-input.min.js is a JS library "to watch for mouse, keyboard and touch events"
They have a github page with more documentation: https://github.com/ten1seven/what-input
and a demo:
https://ten1seven.github.io/what-input/
"Tab, click or tap the links and form controls to see how What Input allows them to be styled differently"
I had this exact same problem on every site when using JointsWP with Foundation 6 framework. I finally just figured it out. I turned off css source mapping and still received the error. It turns out that it wasn't lying to me and the js file really does not exist where it is trying to load it from:
/vendor/what-input/what-input.min.js
But it is under the dist folder within that same directory. So if you find your enqueue-scripts.php file where the what-input.min.js is loaded, you can fix the directory path to:
/vendor/what-input/dist/what-input.min.js
And no more 404!
I installed spree 2.0.3 and then I installed spree_fancy extension....
I want to edit the footer which was generated by spree_fancy extension
Spree generated following folder:
spree_api spree_backend spree_cmd
spree_core spree_dash spree_frontend spree_sample
Can anyone know where the views are located which was generated by spree_fancy extension.
You can find the footer located here:
https://github.com/spree/spree_fancy/blob/1f12308a3562be2cde6c21467942ba07b7c3c536/app/views/spree/shared/_footer.html.erb
You can override the footer by placing a file in your application in the matching path:
app/views/spree/shared/_footer.html.erb
After creating that file and restarting your webserver, content will be read from that file instead of spree_fancy.
Another option is to use the Deface plugin:
https://github.com/spree/deface
You can use this to override portions of the content within the footer, and is more appropriate when making small changes.
You can learn more about both of these techniques by reading the spree customization guide:
http://guides.spreecommerce.com/developer/view.html
I'm trying to edit the header.tpl of an opencart website that uses vqmod - I need to add some more info (text) to each menu link, so basically edit the header file.
I've looked into the vqmod manager and files but I can't seem to get it right.
Unfortunately, whenever I try to edit the header file, the site breaks -I've tried editing the cached vqmod files as well, no luck with that.
Is there a way to reset the vqmod / disable it, then edit the header.tpl and enable vqmod again?
Do I need to install a new theme and start from scratch?
To Disable all vQmod's simply rename the files in /vqmod/xml/ so that their extensions becom .xml_ instead of .xml - Then delete all the files in the /vqmod/vqcache/ folder so that no cached files are used and it should work. That said, if you are wanting to add extra text to menu items, why not just edit the /admin/language/your-language/common/header.php file's text?
How can I change the name of the joomla module in joomla module manager, when showing module properties. How to change the name with red underline in picture
Today I was looking for the same answer of this problem. I found out it needs some language files to show the module name.
I've downloaded a simple login register module from: http://extensions.joomla.org/extensions/access-a-security/site-access/authentication/15380 and followed it's file tree structure and looked into its xml file. See this image:
You need to edit mod_b2j_k2_news_slider.xml, change the name.
I have tried this solution:
Open sitecore media library programmatically from asp.net button click
but this is not working for me. This gives a JavaScript error for .ascx file code mentioned in answer.
This statement: Sitecore.PageModes.ChromeManager.postRequest
I am using Sitecore 6.3, included sitecore.js file. But get the script error the PagesMode ChromeManager property caught for undefined.
Also tried to use
scForm.postRequest("", "", "", 'contentimage:open(id=FIELD1377303253)');
but this certainly wont issue the custom MediaBrowser command created for original solution.
Try to use the Sitecore.Shell.Framework.Windows.RunApplication() function. You need to pass the Media Library itemId as parameter in the RunApplication() method.
You can get the Media Library ItemId in the Core Database at the following path: /sitecore/content/Applications/Content Editor/Applications/MediaLibraryForm
Thanks