Vertical menu in magento

Share
Posted on July 17th, 2011 | Posted by admin

OVERVIEW

Vertical Menu display’s your category navigation in left column or right column very simple. It includes : Accordion menu style, Dropdown menu style with nice effect , Tree menu style. It also allows you to choose a display shop by style collapse/expand.

FEATURES

  1. Accordion navigation (collapse/expand) support
  2. Drop down navigation support
  3. Dynamically position in the left or right sidebar
  4. Enhance default shop by with accordion.
  5. Backend management.
  6. Easy to install, just copy and run
  7. HTML/CSS validation
  8. Easy to install, easy to upgrade, just copy to use
  9. Friendly and flexible configuration
  10. Easy to customize front-end via HTML/CSS
  11. Support FREE

Emulate store in Magento

Share
Posted on July 11th, 2011 | Posted by admin

Magento 1.5 introduced very interesting piece of code that enables easy store emulation when programming, Emulation model a.k.a. Mage_Core_Model_App_Emulation class.

Magento (How to fix): One or more of the Cache Types are invalidated: Blocks HTML output.

Share
Posted on July 11th, 2011 | Posted by admin

Somewhere around Magento 1.5, message from the title of this post begun to pop on every product save.
Although quite anoying, it is quite easy to fix and it seems that’s not a BUG, it is a feature – implemented without automatic block html cache refresh :)
I have tested it on Professional Edition and to be completely honest, I’m not sure if it will actually work on Magento CE,
but there is no reason why not (Please comment if it does).

How to translate form labels in Magento’s Admin Area

Share
Posted on July 11th, 2011 | Posted by admin

Since Magento has built in functionality for translations, you can ask yourself why Magento doesn’t want to translate my labels… and everything is set up correctly!
For all of you who work on Magento for a while and you didn’t yet needed to translate everything in Magento admin area here is a short “howto” on what you can do:
go to app/code/core/Mage/Adminhtml/Block/Widget/Form.php
and find protected function _setFieldset($attributes, $fieldset, $exclude=array())
Instead of this line

1
2
3
//'label'     => $attribute->getFrontend()->getLabel(),
//put this:
'label' => Mage::helper('core')->__($attribute->getFrontend()->getLabel()),

Of course you will not change Magento’s core file in this way :) (more below).

Using addSuccess and addError to show message in Magento

Share
Posted on July 9th, 2011 | Posted by admin

When working with form, you usually show a message after each action of users.

Magento provides a very easy way to show error or success message. Below is an example: