PHP code example of bennoislost / extra-layout-handles

1. Go to this page and download the library: Download bennoislost/extra-layout-handles library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bennoislost / extra-layout-handles example snippets


<CATEGORY_15_child>
    <reference name="content">
        <action method="unsetChild">
            <alias>category.products</alias>
        </action>
        <block type="core/text_list" name="test" before="-">
            <block type="core/text" name="benno" output="toHtml">
                <action method="setText">
                    <text>hello</text>
                </action>
            </block>
        </block>
    </reference>
</CATEGORY_15_child>