Backend

Magento : Dynamic comment loading for admin system config field (Part 2/2)

May 14th, 2014 by in Backend, Development, Magento 2
Magento : Dynamic comment loading for admin system config field (Part 2/2)

In the first part of this tutorial we have seen how a custom model that will render a comment for system configuration field can be defined. We have used this to render a comment depending on saved value of the field. That’s all nice, but what about changing the contents of the comment in real-time without having to save the configuration in order to preview the changes? In this post I will show you how to do exactly that.

Read more »

Creating one pixel image for Magento by using GD library

March 2nd, 2014 by in Backend, Frontend, Magento 0
Creating one pixel image for Magento by using GD library

So you are building a Magento module and need a one pixel image for some reason. Maybe you have dynamically loaded images somewhere in the module that do not have their src attribute at all times (you should definitively avoid this situation). Or you need a tracking pixel, which I will cover some other time. Or you need to fill in some nasty bad pixel in your perfect design (I’m just making things up now as I go at this moment :) ). Sometimes you don’t have control of what folders you will have at your disposal on the destination server, so a best solution would naturally be to deploy your image when your module is installed. This quick and easy post will show you how to do that.

Read more »

Start a project

Fill out the form below to get the ball rolling.





captcha

css.php