PHPackages                             bennoislost/extra-layout-handles - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bennoislost/extra-layout-handles

ActiveMagento-module[Utility &amp; Helpers](/categories/utility)

bennoislost/extra-layout-handles
================================

Add extra layout handles to routes

0.0.1(10y ago)093MITPHP

Since Oct 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/bennoislost/magento-extra-layout-handles)[ Packagist](https://packagist.org/packages/bennoislost/extra-layout-handles)[ RSS](/packages/bennoislost-extra-layout-handles/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Extra Layout Handles
====================

[](#extra-layout-handles)

This is a utility module that should make building Magento websites a bit easier.

Forked from [https://github.com/ho-nl/Ho\_Handles](https://github.com/ho-nl/Ho_Handles). Top work chaps!

Getting started with handles.
-----------------------------

[](#getting-started-with-handles)

The following snippit will remove the product listings from direct children of category id `15`, also adds a simple text block to the top of content.

```

            category.products

                    hello

```

Add the above snippet to your themes `local.xml`

Add handles to category page
----------------------------

[](#add-handles-to-category-page)

If you are viewing a category: /products/dvds.html (category id: 5)

You'll get a handle by default: `CATEGORY_5`

We add the following:

### Handle: `CATEGORY_2_child_child`

[](#handle-category_2_child_child)

Category 2 is the root category for this store, so allows for store specific configuration. If the category path is longer it will show something like `CATEGORY_2_child_child_child`

### Handle: `CATEGORY_2_child_dvds`

[](#handle-category_2_child_dvds)

This one is kinda cool, this one allows you have one layout for multiple childcategories. Imagine the following categories:

- /playgroup/books.html
- /kindergarten/books.html
- /elementary/books.html

All these categories will have the `CATEGORY_2_child_books` handle, so you can all style them the same!

### Handle: `CATEGORY_3_child`

[](#handle-category_3_child)

Child of a certain category. If the category path is longer it will show something like `CATEGORY_3_child_child`.

### Handle: `CATEGORY_3_dvds`

[](#handle-category_3_dvds)

This one probably is kinda useless, but is the current category written in a different notation and the way the module works this one is currenlty automatically added.

Add category handle to product page.
------------------------------------

[](#add-category-handle-to-product-page)

The same as for the category applies, except everything is prefixed with `PRODUCT_CATEGORY_`.

Add attribute set handle to product page
----------------------------------------

[](#add-attribute-set-handle-to-product-page)

```
PRODUCT_ATTRIBUTE_SET_default

```

For styling based on the attribute set handle.

Add handles to CMS page
-----------------------

[](#add-handles-to-cms-page)

If you have the page: customerservice/faq/question\_one, you'll get the following handles:

```
CMS_PAGE_customerservice_child_child
CMS_PAGE_customerservice_faq_child
CMS_PAGE_customerservice_faq_question_one

```

Thanks
------

[](#thanks)

[https://github.com/ho-nl/Ho\_Handles](https://github.com/ho-nl/Ho_Handles)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3899d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1015154?v=4)[Ben McArrowsmith](/maintainers/bennoislost)[@bennoislost](https://github.com/bennoislost)

---

Top Contributors

[![paales](https://avatars.githubusercontent.com/u/1244416?v=4)](https://github.com/paales "paales (9 commits)")

### Embed Badge

![Health badge](/badges/bennoislost-extra-layout-handles/health.svg)

```
[![Health](https://phpackages.com/badges/bennoislost-extra-layout-handles/health.svg)](https://phpackages.com/packages/bennoislost-extra-layout-handles)
```

###  Alternatives

[msp/devtools-m1

MageSpecialist DevTools for Magento 1

2640.8k](/packages/msp-devtools-m1)[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.5k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1030.0k](/packages/clerk-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
