Magento Themes and Magento Extensions

Magento: How to add an image for a custom widget in the admin wysiwyg

Posted on December 8th, 2012 | Posted by admin

Magento: How to add an image for a custom widget in the admin wysiwyg

This is just a quick How-to, I do not detail how to create a new widget.

All you need to do is add a gif with the correct file name to the following directory:

Now, to name the gif. In you widgets.xml file you set the widget “type”, which is the block class for the widget. Just replace the “/” slash with a double underscore and that is the file name. so if I had a widget with the type set to “custommodule/wigets_customwidget” I just create a gif with the name “custommodule__wigets_customwidget.gif”.

End result:

Magento Use Custom Product Attributes to Add CMS Static Block to Product Page

Posted on November 23rd, 2012 | Posted by admin

The Magento shopping cart has wonderful tools like attributes that makes it easy for users to control custom content on your products. Recently, I have had a client that needs to display the same information over multiple products. So rather than manually adding it on one product, I thought it would be easier to link a custom cms static block to the product page. While this seems like an easy thing to do, Magento makes this a bit complicated to set up. So this tutorial is meant to show you how to do this! After this tutorial you will be able to control static cms blocks from any product in your Magento store.

So let’s begin.
Setting up your Custom Product Attribute.
First we need to set up a custom product attribute correctly in magento. This will let us create a few cms static blocks and link them to our product. First login to your magento backend and go to Catalog > Attribute > Manage Attributes. Once the page reloads click on “Add New Attribute”. This will take you to a page where you can set up your attribute.

Selecting Custom Magento Transactional Emails

Posted on October 20th, 2012 | Posted by admin

Selecting Custom Magento Transactional Emails

For reference, these are the places the transactional e-mails can be adjusted:

Currency Setup – Scheduled Import Settings
* Contacts – Email Options

Catalog – Product Alerts
Google Sitemap – Generation Settings
* Email to a Friend – Email templates

How to Create Custom Column Renderer in magento grid

Posted on September 21st, 2012 | Posted by admin

Magento Admin Grid provides the tabular data from database in grid format. This is convenient for all text data. In Some cases we may have other data type to be shown in grid which is not plain text data. For example Image data.

For this purpose magento provides us the flexibility to define our own column renderer. We can use this to add additional markup before and after the required data.

In this article we will see how to add our own column renderer to show an image file in our custom module. I’ll cover only the portions that show the image in admin grid. After adding our basic skeleton module. we need to do a few additional steps.

Step 1: In this step we are adding and saving some test data. Initially our grid will display only the image name.

Creating Custom Configuration Options in Magento Admin

Posted on July 13th, 2012 | Posted by admin

As a Magento developer you frequently encounter the Configuration page of Magento admin backend. But have you ever noticed how these configuration pages are created and where are those configuration options saved? If not don’t worry, today I will tell you how to create an admin configuration page for you custom module. You might wonder that their is no ‘.phtml’ involved in this configuration page. Shocked! Its ok, we have to play only with the xmls to create this functionality. So now lets start the development.

 Creating Custom Configuration Options in Magento Admin

Page 2 of 8«12345»...Last »