Sports »

[4 Mar 2011 | 3 Comments | 1,402 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 | 7 Comments | 9,484 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,282 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 | 1,974 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 | 4,614 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 | 2 Comments | 1,692 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 | 2,922 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 | 5,592 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.

PHP, Review »

[2 Feb 2011 | One Comment | 1,779 views]

As far as I see, I find phpThumb() as the best of all PHP thumbnail image generator. It has lots of thumbnail generation features. You can create thumbnail in a number of ways with phpThumb(). phpThumb() uses the GD library to create thumbnails from images (JPEG, PNG, GIF, BMP, etc) on the fly. Basic functionality [...]

Magento »

[30 Jan 2011 | 3 Comments | 1,224 views]

Here, I will be showing you how to get the top/highest rated product. The basic idea for getting the top rated products is fetching all products, looping through them, getting ratings of each product and populating a ratings array. After that sort the array and then slice the array for limiting the number of product [...]

Javascript »

[28 Jan 2011 | 3 Comments | 6,858 views]

Here is a quick code to get the current URL of a page with Javascript:- var current_url = location.href; Here is another way:-

jQuery »

[25 Jan 2011 | 5 Comments | 10,601 views]

In this tutorial, I will be showing how you can use AJAX with jQuery. From jQuery, you can send values to php page as GET or POST parameters. You can use load() function OR ajax() function of jQuery to accomplish the AJAX functionality.

Poll, Sports »

[19 Jan 2011 | 4 Comments | 638 views]

The 2011 ICC Cricket World Cup will be the tenth Cricket World Cup and it is hosted by three South Asian Test cricket playing countries: India, Sri Lanka and Bangladesh. The matches are played in One Day International (ODI) format. The World Cup is scheduled to take place between February and early April 2011. There [...]

Sports »

[12 Jan 2011 | 24 Comments | 15,142 views]

The 2011 ICC Cricket World Cup will be the tenth Cricket World Cup. It is hosted by three South Asian Test cricket playing countries: India, Sri Lanka and Bangladesh. The matches are played in One Day International (ODI) format. There are altogether fourteen national cricket teams competing with each other.

Making Money Online »

[10 Jan 2011 | 2 Comments | 640 views]

PayPal is the world’s most popular “middleman service” for online purchasing. Where moneygrams and wire transfers were the standard in the 20th century, today over 99 million Internet users prefer to use PayPal to send money to each other via email. PayPal has become such a convenient and trusted way to transfer money online, 95% [...]