PHP, Review »

[21 Mar 2011 | 3 Comments | 1,051 views]

The ionCube PHP Encoder makes it easy to protect your PHP 4 & 5 source code, including sources using the PHP 5.3 language, from easy observation, theft and change. Encoded files run on a wide range of operating systems such as Linux, Windows, FreeBSD and others. Introduction: http://www.ioncube.com/sa_encoder.php

Google »

[14 Mar 2011 | 2 Comments | 2,229 views]

You can use multiple email addresses with your single Gmail account. Trick #1 Suppose, you have your Gmail account as: firstname.lastname@gmail.com With Gmail, you can also use it as: firstnamelastname@gmail.com or first.name.lastname@gmail.com or first.name.last.name@gmail.com

Google »

[11 Mar 2011 | One Comment | 2,982 views]

Backing up browser means getting backup of all the browsing history, bookmarks, extensions installed, etc. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. I love Google Chrome.

Magento »

[9 Mar 2011 | 5 Comments | 3,198 views]

Here is a quick code to get the admin user’s data (id, name, username, email, password, etc). By admin user, I mean the users that login through the admin panel and those who have access to the admin panel of Magento. The users can be administrator, or with some specific roles. $userArray = Mage::getSingleton(‘admin/session’)->getData();

Sports »

[4 Mar 2011 | 3 Comments | 1,424 views]

From the past records of World Cup Cricket, we find that the hosting team has never won the World Cup. In 1996, the World Cup was hosted jointly by India, Pakistan and Sri Lanka. The final match was played in Pakistan. And, Sri Lanka had won the World Cup.

Magento »

[3 Mar 2011 | 8 Comments | 11,594 views]

Problem: I transfered my Magento site files from one computer to another. I imported the database. Now, when I try to login to admin (when I go to admin login url), it shows 404 Not Found Error page. The same error is also displayed in the module’s page that are installed in site. However, the [...]

Javascript, jQuery, Magento »

[2 Mar 2011 | 4 Comments | 2,538 views]

By default, Magento contains and uses the Prototype javascript library. You can also integrate the other most popular javascript library ‘jQuery‘ in your Magento site. While integrating jQuery in Magento, you might get some javascript conflict and errors as you will be using two javascript libraries (prototype and jQuery) at a time. This is caused [...]

Magento »

[25 Feb 2011 | 2 Comments | 2,117 views]

Gift Message facility is present in Magento by default. You can add gift message in order as a whole or in individule order items. By default, the gift message is not enabled in Magento.

Magento »

[22 Feb 2011 | No Comment | 5,294 views]

Magento has this cool functionality of Event Observer. Magento follows the Observer Design Pattern for its event hooking system. With this Event Observer Hook, additional functionality can be added without modifying the core code. The full list of Magento Event Observer Hooks is present over here:- Magento Event/Observer Hooks Cheat Sheet

Magento »

[14 Feb 2011 | 4 Comments | 1,878 views]

Suppose you have a Magento shop installed. You also have another php installation in your server (may it be wordpress, joomla, drupal, or any other php code system). Now, you want to get Magento shop data in your external website which is not Magento. So, how to do this?

Magento »

[9 Feb 2011 | 4 Comments | 3,119 views]

Suppose you have a multi select attribute and you have displayed it in admin grid. You have displayed the multi select attribute options as selection list. Now, you want to filter/search the grid by the multiselect attribute. The problem here is that the multiselect attribute value is store as comma separated value in database. When [...]

PHP, Review »

[7 Feb 2011 | 3 Comments | 6,527 views]

Here, I will be writing about two pdf creation PHP Classes. They are FPDF and TCPDF. With these classes, you can quickly, easily and effectively generate PDF files. FPDF is smaller in size compared to TCPDF. But, in functionalities, TCPDF wins. TCPDF has lots of features and functionalities.