Reset Admin Password in Drupal 7
February 23rd, 2012
If you have lost your admin password for Drupal 7, place the following script in the root directory of your Drupal installation. Once you run the file, the SQL command that needs to be executed will be printed on the screen.
Read it all
Shop by brand page for Magento
December 22nd, 2011
‘Manufacturer’ associated with each product is an attribute of type dropdown in Magento. By default, Magento does not provide an option to associate an image, page title etc., with the manufacturer. Altough, the ‘Manufacturer’ attribute can be used in layered navigation – to filter search results, there is no easy way to create a ‘Shop by Brand’ page (for instance: brands page at FootLocker).
A workaround for this is to treat manufacturers / brands as categories. Read it all
Data URIs – unfinished draft
December 16th, 2011
As a web developer – website performance is one of the key aspects I am passionate about. Wherever applicable, I try to use optimization techniques like CSS Sprites, minifying files etc., Data URIs is another interesting technique I cam across. Oddly, I wasn’t able to find many websites using this technique. The primary reason could be maintenance and browser compatibility issues. As part of this article, I will document any Data URI related information I come across and share my insights.
Read it all
Water bottles indicating water level using CSS3
December 9th, 2011
Experimenting with CSS3 : Here is a working draft on creating a series of water bottles with each bottle indicating the water level.
Demo at Js Fiddle
Read it all
Managing Custom Stock Status – Magento
November 1st, 2011
Apart from the default stock statuses provided by Magneto namely ‘in stock’ and ‘out of stock’, here is how you can manage custom stock statues. Read it all