Magento ORM Allows the Developers to Store/Retrive Data using the load and save methods without writing Direct SQL Query. $custommoduleobj= Mage::getModel(‘yourmodulename/modelname’)->load($id); $custommoduleobj->getData(); $custommoduleobj->getFieldName(); However the load Method works only based on ID, To Fetch a Particular row the developer needs to know the id value or fetch all records using magento collection and check if … Continue Reading
Monthly Archives
July 2011
How to add custom fields to Customer Registration and Account page in magento 1.5
Magento Provides the default customer registration form with very few fields like name,email,pwd etc. But in realtime we need to get more details from the customer during registration. In order to achieve this we may have to create custom module that extends the magento customer module. Step 1: We Start with Our module activation file … Continue Reading
Easy Paypal sandbox IPN subscription with PHP Codeigniter Library
CodeIgniter has a PayPal library that handles the request and response from PayPal. But IPN Subscription is not supported in the CI PayPal Library. Creating IPN Subscription is pretty easy if you follow the below steps. Step 1 : To start with IPN subscription register / sign -in with PayPal sandbox using this URL https://developer.paypal.com/ … Continue Reading
Fixed / Resolved Blank Screen Issue while Restoring Backup File in Drupal 7
Backup and Migrate is One of the important modules that will help in moving the Data Base from Development Site to Live Site. While Recently working with this module I Faced an Issue. I Have Successfully taken the Backup from Development site using the Advanced Backup options and When I tried to Restore the Backup … Continue Reading
Creating custom HTML dropdown/select box with jQuery plugin
Creating custom dropdowns is usually a tedious process that requires a ton of extra setup time. Oftentimes lacking conveniences that native dropdowns have such as keyboard navigation. DropKick removes the tedium and lets you focus on making drop-box look good. It is light weight and easy to use in your web applications. You can give … Continue Reading
How to Theme Nodes of Specific Content Type in Drupal 7
There are Basically 2 ways to Theme a page in Drupal i) By using theme functions in modules ii) By creating template files in the theme directory. For the Designer creating the template file would be much more convenient to theme than using the theme function. Sometimes there may be a need to theme node … Continue Reading