Linux, Ubuntu »

[13 May 2013 | No Comment]

I recently upgraded from Ubuntu 12.10 to Ubuntu 13.04. It went successfully. After I restarted my computer, I get a black screen at the time of login. Hence, I am unable to insert my login to my computer. However, I was able to login in recovery mode.
I googled for solutions. Used the keywords like “login screen goes black ubuntu 13.04”, “monitor turns off at login ubuntu 13.04”, “login screen turns off ubuntu 13.04”, etc. After spending some hours searching and implementing some solutions regarding this issue, I finally came to …

Magento »

[6 May 2013 | One Comment]

Problem: I am having the following error when I browse Layered Navigation on Magento.
You cannot define a correlation name ‘attribute_idx’ more than once

Magento »

[22 Apr 2013 | 3 Comments]

You might get this error when you go to Magento Connect Manager (System -> Magento Connect -> Magento Connect Manager) of your Magento installation. This means that Magento Connect is unable to write files to your server.
Warning: Your Magento folder does not have sufficient write permissions.

Magento »

[15 Apr 2013 | One Comment]

I had added a new product attribute. Suppose the attribute code is ‘test’. I have been trying to fetch/select that newly added product attribute. Here is my Magento collection code:-

Linux »

[8 Apr 2013 | No Comment]

VI is a display oriented interactive text editor originally created for the Unix operating system. It is available by default on all UNIX systems. It is supplied with all Linux distributions.
Here is a simple and quick VI command tutorial.

Magento »

[2 Apr 2013 | One Comment]

Let’s suppose that you have a custom Magento module named ‘YourModule’. You have a custom database table for the module. There is a date field in the table. Now, your requirement is that your module should be able to display and edit the date field from admin section.
This article shows how you can display and edit date field from admin form. A datepicker will be displayed beside the date field in admin form. So that, you can easily choose any desired date.

Magento »

[25 Mar 2013 | One Comment]

Suppose, you have a custom Magento module and you wanted to add a custom tab to “Customer My Account” section, i.e. the frontend part displayed after customer login.
Here is the solution:-

Google, Magento »

[18 Mar 2013 | No Comment]

Problem:- I recently upgraded a Magento shop from version 1.6 to 1.7 and suddenly the Google Analytics stopped tracking data.
Solution:- You need to add ‘template’ attribute to googleanlytics block in app/design/frontend/your_package/your_theme/layout/googleanalytics.xml

Magento »

[11 Mar 2013 | No Comment]

This article contains code snippet to get customer attributes in Magento.
Get Customer Collection