n98/n98_layouthelper

This package is abandoned and no longer maintained. No replacement package was suggested.

Helpful methods to be called in layout actions to allow more customizations via local.xml without touching the original layout files.

Maintainers

Package info

github.com/netz98/N98_LayoutHelper

Type:magento-module

pkg:composer/n98/n98_layouthelper

Statistics

Installs: 208

Dependents: 0

Suggesters: 0

Stars: 33

Open Issues: 3

1.0.0 2019-06-14 03:59 UTC

This package is auto-updated.

Last update: 2020-08-21 10:50:34 UTC


README

Helpful methods to be called in layout actions to allow more customizations via local.xml without touching the original layout files.

  • Remove links from the account navigation from local.xml layout updates

without touching the original layout files.

  • Add CSS/JS before or after existing elements

Example: Add CSS file at begin

<reference name="head">
    <action method="addCss">
        <stylesheet>css/footer.css</stylesheet>
        <params></params>
        <ref>*</ref>
        <before>1</before>
    </action>
</reference>

Example: Remove a link from customer menu

<customer_account>
    <reference name="customer_account_navigation">
        <action method="removeLink"><name>OAuth Customer Tokens</name></action>
        <action method="removeLink"><name>billing_agreements</name></action>
        <action method="removeLink"><name>recurring_profiles</name></action>
    </reference>
</customer_account>