Magento’s Admin Interface Shows important records in the Grid Structure. Magento allows us to extend the Grid class to add our own custom fields as columns. When adding custom columns usually we place them at the end of the other columns, but sometimes we may need to place the custom column in certain order. In … Continue Reading
Monthly Archives
February 2012
How to get product gallery images in custom page magento
The below code snippet shows how to retrieve product image urls in a custom page. We need this while sending/exporting our products to thirdparty website for inventory synchronization.
1 2 3 4 5 6 7 8 |
$GalleryImages = Mage::getModel('catalog/product')->load('your_product_id_here') ->getMediaGalleryImages(); if(count($GalleryImages)) { foreach($GalleryImages as $simplemediagalleryimage) { echo $simplemediagalleryimage->url; echo " "; } } |
Compatability: Magento 1.5,1.4
How to Show Time in Magento Date Picker
In this article I am sharing the approach to show time in magento date picker/calendar. This approach modifies a few library files. If anyone knows the better way to do this i.e To Override library/Js files outside modules , Please Share Your comments in mydons. Note: Please take a Backup of Original Files Before doing … Continue Reading
Best Practices on Drupal Module development
Following are some of the important points/Best practices that should be taken in consideration while creating a new custom module in drupal. 1) Use underscore “_mymodule_” for private function. 2) Use “ l() ” instead of “<a>text goes here</a>”. 3) Avoid writing all the coding inside a single module file, instead of that you can use .inc files and … Continue Reading
Most interesting features of Drupal Homebox module
If you are using Dupal for your site with user login, you should probably check this feature. Every user would like to make their work easier. For that, we should provide bird’s eye view of the updates. It could be a simple snapshot or a dashboard. Drupal Homebox module is greatly helping drupal developers to achieve … Continue Reading