background preloader

Magento Tips&Tricks

Facebook Twitter

Tinymce - Update tiny_mce to latest version 4.0.3 (2013-08-08) Ok, I had to solve this one myself.

tinymce - Update tiny_mce to latest version 4.0.3 (2013-08-08)

Found : and from that : TinyMCE 4.0 has a new way of binding events. Instead of the old dispatcher method it uses the more common "on" and "off" like for example jQuery. It also allows you to bind multiple events and cancel events using the more common preventDefault and stopPropagation. Note: this is a WIP, this does not solve the integration issue of TinyMCE4, but it answers the question, and gets it a step closer.

The following code in the js/mage/adminhtml/wysiwyg/tiny_mce/setup.js makes it work. Store Maintenance - Magento Connect. Hei, after uninstalling your plugin my store and backend are not accessable anymore.

Store Maintenance - Magento Connect

When I enable developer mode I get this error: SUPEE-6788. SUPEE-6788 bundle address several security issues, such as bypassing custom admin URL in third-party modules, possible SQL injection, and access to private information in third-party modules.

SUPEE-6788

APPSEC-1034, addressing bypassing custom admin URL Note: This patch is disabled by default. To protect non-default admin URLs against automated attacks, the patch must be enabled by changing the routing compatibility mode in the configuration.If a module has admin functionality that is not under the admin URL, it will need to be modified (eg. Instead of need to change etc/config.xml and all code lines where they generate links to the admin part of the module.For example the following config.xml file for a module: Rhoerr/supee-6788-toolbox: Analysis/fix tool for extension and customization conflicts resulting from the Magento SUPEE-6788 patch. Magento How To Show Full Error Message Instead of Truncated One.

Solved: Re: Show "Contact Us" form inside a popup window. Download js and css in your website from below path. magento_root\skin\frontend\MyPackage\MyTheme\cssmagento_root\skin\frontend\MyPackage\MyTheme\js Add js and css in the path.

Solved: Re: Show "Contact Us" form inside a popup window.

Resolving Magento Extension Conflicts - Magento Shipping Extensions Magento Shipping Extensions. What are extension conflicts?

Resolving Magento Extension Conflicts - Magento Shipping Extensions Magento Shipping Extensions

One of the biggest problems we see as Magento matures is extension conflicts. This is where you have or more extensions effectively replacing the same core files in Magento. If you see an extension that uses the word “<rewrite>” in it’s config.xml file be aware that you may hit conflicts with other extensions. There isn’t an easy way around extension conflicts. Magento configuring email on Gmail. Move mini-cart in the sidebar to the header (or anywhere) in Mage.

Home Magento Customization, Magento Guide 10 September 20092 Comments Hi all – Here is my solution to a question I’ve seen asked many times: How to move the cart sidebar into the header area.

Move mini-cart in the sidebar to the header (or anywhere) in Mage

You can use this technique to move it anywhere. This is not the only way to do this, but it is a useful one. 1) Copy the the block for the cart side bar: Move mini-cart in the sidebar to the header (or anywhere) in Mage. Magento - How to add/move sidebar mini-cart on the header. - dltr.org. Do you want to move magento's sidebar mini cart to header?

Magento - How to add/move sidebar mini-cart on the header. - dltr.org

If you said "yes' then follow the following post. We are just using exisitng sidebar mini cart and modified to display on the top header. We have removed some of the Magento's code from the cart which we didn't need in our case, if you need it you can re-include from sidebar's phtml file that comes with magento e-commerce's base template. Magento - How to add/move sidebar mini-cart on the header. - dltr.org. Magento - How to add/move sidebar mini-cart on the header. - dltr.org. Magento move cart to header. Add some block to product view page through module xml file Magento. Magento Layout XML Tutorial – Part 1 – Tutorials – Magebase. The ‘View’ of Magento’s MVC pattern implementation is divided in two parts: Layout and Template.

Magento Layout XML Tutorial – Part 1 – Tutorials – Magebase

The template represents a HTML block while layout defines the location of the block on a web page. 5 Useful Tricks For Your Magento local.xml – Tutorials – Magebase. We have covered a lot about Magento’s layout XML in our past 2 articles [1] [2].

5 Useful Tricks For Your Magento local.xml – Tutorials – Magebase

We saw that Magento will read the layout XML files in a specific order and that the local.xml file is read at the very end of the sequence. This allows us to approach the implementation of new theme designs in a very modular and tidy way. Most of the time, we would use one of the Magento supplied themes as a starting point for a new theme. The base default theme gives us all the standard theme features and implements the complete Magento layout and phtml files but the theme is almost completely unstyled.

10 problems you can solve with these Magento tips. Setting up an e-commerce website with Magento is not too complicated, the install and global configuration are pretty easy and shouldn’t cause too many problems.

10 problems you can solve with these Magento tips

For more advanced configuration and template tweaks, things can get a bit more hectic, but with the following Magento tips it should already get a little easier. 1. Add a custom “add to cart” button on CMS pages Sometimes you’ll want to show a different presentation of your products or introduce it on a CMS page for some reason. If you want to do that it’s actually not so complicated, in your page editor, just add the following HTML code where you want it to appear in the page. [HTML]<button onclick=”location.href =’{{config path=”web/unsecure/base_url”}}/checkout/cart/add? Save the page and refresh the cache. To make it a little more advanced, you can add the quantity of products you want to let the customers add, in that case use this code (example for five products). Source of the tip. How to Implement "See Price in Cart" Feature in Magento. Ever wonder why online stores like Amazon.com make you add a product to your cart in order to see the sale price?

Learn why the 'see price in cart' feature is a valuable tool for online retailers and we'll show you how to implement this feature in Magento using only Mageneto's built in functionality. Why do online stores make me add a product to my cart to see the sale price? Hide Magento Regular Price if tiered pricing exists on product page. 5 Useful Tricks For Your Magento local.xml – Tutorials – Magebase. Replace Magento language selector with flags. In most Magento templates, we can see the language selector provided as a simple pull down menu. Let’s explore a way to enhance the look and make a more attractive, custom style. In the example below, I’ll tell you how to make a multilingual store and replace the standard language selector with flag icons. Magento Admin Hello World Revisited. Like this article? Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento.

Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it. Repalce default paypal logo on the onepage checkout payment section with my own image. Checkout - Edit PayPal button to show that credit cards are accepted without account. Current community your communities Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help. Payment - How to Remove "What is PayPal?" from PayPal option on checkout.

Current community your communities Sign up or log in to customize your list. more stack exchange communities Stack Exchange. Payment - How to Remove "What is PayPal?" from PayPal option on checkout.