Adding and removing javascript and css when and where you need it – in Magento

October 30, 2010 Iyngaran Iyathurai 0

Adding and removing javascript and css is handled separately within Magento. CSS is added in the usual fashion, where you have a <link rel=”stylesheet”… />. However, any included javascript (unless linked to “by hand” from a theme’s skin) is pulled via a php files which reads through the “js” folder in the root directory (root/js/index.php is responsible for this) That is all well and good for Magento. The real question is how we, as developers, […]

Create Custom Module “HelloWorld” – in Magento

October 29, 2010 Iyngaran Iyathurai 4

Part of customizing Magento is, of course, creating custom Modules. These allow you to inject functionality anywhere, whether in a “static” block fashion that’s more than static, or a shipping/payment module, or large module to do something as large as integrating a 3rd party system (or multiple systems). There are many things custom Modules can do, from editing your Database, to handling module upgrades to overriding classes (Blocks, Controllers, Models) … and more! Note – […]

Create and customize the Magento store

October 17, 2010 Iyngaran Iyathurai 0

Magento content management system is an open source eCommerce application, perfect for online stores. It is a powerful software characterized by great flexibility and full control over the look, content and functionality of your online shop. Magento CMS was created on March 31, 2008. It was created by Varien, building on components of the Zend Framework. Magento engine installation procedure First of all go to http://www.magentocommerce.com/download/noregister and download the Downloader as zip (not the Full […]

Generate Constructor, Getters and Setters in NetBeans PHP IDE

October 1, 2010 Iyngaran Iyathurai 0

This morning I have committed a feature to the NetBeans PHP support that will be part of NetBeans IDE 6.5, which offers generating of constructor, getters and setters in a PHP class. To invoke the functionality, the caret position has to be inside a PHP class and you have to press shortcut ALT+Insert (CTLRL+I on Mac). After invoking the shortcut, all possible generators are offered. Let’s explain on a simple example. I have very simple […]