My Blog
WordPress comment form customization
Copy and Paste following into your functions.php file and see the customized form <?php function po_custom_comment_fields($fields) { //define global variable global $post; //remove defaults fields here $fields['url'] = ''; //begin custom fields $fields['firstname']...
Magento redirect customer after registration
Go to customer accountcontroller find _welcomeCustomer method. file location must be like app/code/core/Mage/Customer/controllers/AccountController.php Search for protected function _successProcessRegistration(Mage_Customer_Model_Customer $customer) function at...
Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct()
In one of my Magento projects, on development environment everything was working fine but when the site was live "Invoice" print in magento admin[Admin>>Sales>>Orders>>Invoice>>Open Invoice>>Click print button] was giving Fatal error: Declaration of...
How to get minimum and maximum price of Bundled Product in Magento?
I have problem to show the EMI price for particular product in bundled product in Magento. So I have tried to go through the google and found some interesting forum post to get the bundle product's price. <?php $product_id = YOUR_PRODUCT_ID; $bundled_product = new...
How to move Magento site from subdomain to main domain?
Moving magento site from subdomain to main domain (and vice-versa) is quite easy. And you can do it by two different way and you will feel it is more easy when you go through how to do it. Process I: You need to do as per following steps to achieve this: STEP 1: Go to...
How to remove the short description from the products description page?
Please find the template file that is responsible for displaying a list of products on the page. This file can be here: app/design/frontend/base/default/template/catalog/product/list.phtml or app/design/frontend/default/[your theme]/template/catalog/product/list.phtml...
How to reset Auto-increament in MySQL?
It is possible to reset the auto increment value of a MySQL auto incremental primary key to a new value, either higher or lower than what it would otherwise next be. This post looks at how to do this using a MySQL query and also with phpMyAdmin. The following example...
How to ensure your WordPress site’s security?
What is Security? Fundamentally, security is not about perfectly secure systems. Such a thing might well be impractical, or impossible to find and/or maintain. A secure server protects the privacy, integrity, and availability of the resources under the server...
Page Caching in CodeIgniter
Page Caching CodeIgniter lets you cache your pages in order to achieve maximum performance. Although CodeIgniter is quite fast, the amount of dynamic information you display in your pages will correlate directly to the server resources, memory, and processing cycles...
How to enable curl at localhost?
What is CURL? CURL is a library that allows you to connect and communicate via a variety of different protocols such as HTTP, HTTPS, FTP, Telnet etc CURL Error Message If curl isn’t running and your trying to run it In php you’ll more than likely be Seeing an error...
Join My Newsletter
Like Us
Follow Us
Contact Me
Email: me@shashidharkumar.com
Phone: +91-943-185-6038