Jason | 31st October 2013
Magento CE 1.8.0.0 I recently needed to build the full URL for Magento from a relative path. I wrote this little function for my helper and I thought someone else might want to use it. 1234567891011121314151617181920212223242526272829public function buildFullPathUrl($path,$type) { $relative = ltrim($path, ‘/’); switch ($type) { case […]
Jason | 22nd October 2013
Magento 1.8.0.0 CE This is actually really easy to do. Why this still isn’t part of Magento out-of-the-box beggars belief, but I guess they have their reasons. First, copy the menu phtml file to your own theme folder. The original is located at app/design/frontend/base/default/template/page/html/topmenu.phtml. Now let’s add our link, with ‘active’ state support. By default, […]
Jason | 11th August 2013
Magento 1.7.0.2 CE I’m creating a custom module and I want to be able to submit the form via Magento’s built-in AJAX. Also, I want to validate the user input to ensure I don’t get a database full of blanks! Magento makes hooking into the existing functionality really quite easy. Let’s begin with the form. […]
Contact Me
Please fill out the form below and I will reply ASAP. I aim to answer all emails in 48 hours or less.