from my blog

latest Posts


Apache wont start on Xampp

November 29, 2011

Many days ago, I wrote a post for "Apache Problem in Xampp". on that article,  skype was problem, but recently I got a query: "Hi e'm trying to install xampp 1.7.7 version in my laptop which is with xp3,32 bit....

Wordpress sidebar has many feature and we can customize that just drag and drop widgets. If we talk about developer end, we can use widget feature to customize our blog. We can as many as side bar and can manage...

Custom field play very big role in Wordpress. We can use it to call extra feature in post and page. For example (only to show custom field functionality), if you want to add a source url in your every post....

URL Opener has been created

September 2, 2011

I created the url opener which can be useful to open multiple url at a time. It can be reduce the time who work on SEO. It is good seo tool. Hope you will like it. Please check it : URL Opener

Basic WordPress Functions

August 20, 2011

Everybody wants to make wordpress theme and like to have their own blog. Below are some basic wordpress function which can help to make basic theme for wordpress. 1) <?php bloginfo('stylesheet_directory'); ?> This wordpress function returns your active theme path. Like...

Below is the code to get sub categories list from specific category in magento. For example, if we make a category by name "brand" (fro example id is 35) and we want to show all the subcategory list as select...

All the Magento programmer know, we can install the magento extenstion using magento connect manager. But sometime we face some problem to install like write permission or whatever. After that we realized, if we can download the magento extension and...

We can set the browser caching expiration using .htaccess file. Copy the code below and paste it in your .htaccess file. ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType...

We know Magento support multiple currency. I have found the solution to check current currency in the Magento site frontend To get Current Currency <?php echo $currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?> If you looking for current currency symbol use : <?php...

Sometimes we want to show remaining quantity of a product in our magento shop. Simple method to get product quantity is: <?php (int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty(); ?> It can be helpful to show an alert message like below: <?php $product_qty=(int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty(); if($product_qty<5)...