Download the PHP package bennoislost/extra-layout-handles without Composer

On this page you can find all versions of the php package bennoislost/extra-layout-handles. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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. Top work chaps!

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.

Add the above snippet to your themes local.xml

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

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

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

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

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

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.

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

Add attribute set handle to product page

For styling based on the attribute set handle.

Add handles to CMS page

If you have the page: customerservice/faq/question_one, you'll get the following handles:

Thanks

https://github.com/ho-nl/Ho_Handles


All versions of extra-layout-handles with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bennoislost/extra-layout-handles contains the following files

Loading the files please wait ....