Git Product home page Git Product logo

aoe_layoutmanager's Introduction

AOE Layout Manager

Description

This module allows advanced users (with some Magento knowledge) to add layout xml via records in the Magento backend.

Author: Manish Jain

Installation

Please remember using the --recursive parameter while cloning:

git clone --recursive https://github.com/AOEpeople/Aoe_LayoutManager.git Aoe_LayoutManager

The module comes with a modman configuration file.

Usage

Modify layout without deploying code (e.g. for temporary hotfixes, or when developer with no Magento access need to add something like Javascript for a new service) Modify layout for a given time span

How it works

Install the module, and clear the cache. Once AOE Layout Manager module will be installed, menu will be appear in Admin -> System -> AOE Layout Manager. Click on AOE Layout Menu to add layout xml

Example

<reference name="head">
    <block type="core/text" name="helloworld">
        <action method="setText"><text><![CDATA[<script type="text/javascript">alert('Hello World')</script>]]></text></action>
    </block>
</reference>

Debug helper

These blocks help you to find out about the layout handles used on a given page (use handle "default" to enable the helper on every page while debugging):

Add this snippet (using Aoe_LayoutManager) to show all handles in use on a given page added to as HTML comment to the head block:

<reference name="head">
    <block type="aoe_layoutManager/layoutHandles" name="aoe_layout_manager.debug" />
</reference>

Or as a visible list to the content area:

<reference name="content">
    <block type="aoe_layoutManager/layoutHandles" name="aoe_layout_manager.debug">
        <action method="setIsVisible"><param>1</param></action>
    </block>
</reference>

aoe_layoutmanager's People

Contributors

leesaferite avatar manish172 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.