2017 © Pedro Peláez
 

magento-module aoe_templateimport

Render Layout from non Magento template files

image

aoepeople/aoe_templateimport

Render Layout from non Magento template files

  • Friday, June 24, 2016
  • by fbrnc
  • Repository
  • 49 Watchers
  • 4 Stars
  • 546 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Aoe_TemplateImport

Authors:

Aoe_TemplateImport module allow to use custom html file and render the placeholders., (*1)

This module is useful when you have non-magento frontend and magento is being used only for few things like cart/checkout. In this case, instead of modifying the header/footer in magento to match the frontend site, use html file which contains header and footer with placeholders., (*2)

Template Example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head lang="en">
        <meta charset="UTF-8">
        <title>Cart Template</title>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
        <!-- ###head### --><!-- ###/head### -->
    </head>
    <body>
        <div id="header">
            <h1>Hello World</h1>
        </div>

        <!-- ###content### -->
        <div>Sample Content that will NOT be included in the rendered page, but replaced with the content of the 'content' block</div>
        <!-- ###/content### -->

        <div id="footer">
            <p>Customized Footer</p>
        </div>
    </body>
</html>

Placeholders

Supported placeholders for template path and base path: - Any filter e.g. {{customvar TEMPLATEURL="http://www.example.com/"}} - ###BASE_URL### - ###MAGENTO_ROOT###, (*3)

Changelog

  • 1.0.0: Major rewrite to store configuration and cache in new records
  • 0.3.0: Added source cache
  • 0.2.3: Added info for empty config or content when in dev mode
  • 0.2.1: Support single quotes
  • 0.2.0: Added placeholder support
  • 0.1.0: Initial release

The Versions

24/06 2016

dev-master

9999999-dev https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

29/09 2015

v1.1.0

1.1.0.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

18/09 2015

v1.0.3

1.0.3.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

27/08 2015

v1.0.2

1.0.2.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

26/08 2015

v1.0.1

1.0.1.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

26/08 2015

v1.0.0

1.0.0.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

26/08 2015

dev-record_config

dev-record_config https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non Magento template files

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

17/08 2015

v0.3.1

0.3.1.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

31/07 2015

v0.3.0

0.3.0.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

17/07 2015

v0.2.3

0.2.3.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

16/07 2015

v0.2.2

0.2.2.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

09/07 2015

v0.2.1

0.2.1.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain

09/07 2015

v0.2.0

0.2.0.0 https://github.com/AOEpeople/Aoe_TemplateImport

Render Layout from non magento template file

  Sources   Download

OSL-3.0

The Requires

 

by Manish Jain