drewhunter

Handles

  • Popularity Score 417 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

Allows developers to easily add new layout handles for any given page. Comes with 3 new convenient layout handles added and ready to use: - Empty basket page - Empty search results page - Empty category page
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.
In order to get this extension, you must have active Magento Go Store. Click here to create Go store.

Magento Connect 2.0

Magento Connect 2.0

FREE
Previous Next
Overview

Handles

The Handles module allows for new layout handles to be added easily. It is aimed towards developers who wish to add layout handles to pages with minimum fuss.

It was inspired by the need to have different layout handles for the empty basket page, empty search results page and empty category pages. As such, these three use cases have been addressed and are included with the module and can be used as is or as references for further extending and adding custom layout handles.

To add a new layout handle, please refer to the following

  • Find the module name, controller name and controller action of the page that you want to add a new layout handle for. For example, the search results page would be Catalogsearch (module), Results (controller) and index (action)
  • All new layout handles are created by extending Dh_Handles_Model_Handler_Abstract and by implementing the execute() method.
  • Navigate to app/code/local/dh/handles/model/handler/ and create a folder for each of the module and controller mentioned above. Inside the folder created for the controller create a class based on the action.
  • Use the execute method to hold the logic for adding the new layout handle and within that method call $this->_addHandle('handle name here') to add the new handle.

Have a look in the following class for an example on how this is done: Dh_Handles_Model_Handler_Checkout_Cart_Index

Any questions, get in touch

Release Notes

First release

2012-02-05 17:05:35
  • Version number: 0.1.0
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

First release.
Reviews

About the Developer

This extension was developed by and is supported by drewhunter

Q&A
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.

Close

Register

* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window

Login

To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.