Name: Aoe_TemplateImport
Owner: AOE
Description: null
Created: 2015-06-11 20:57:45.0
Updated: 2017-03-14 10:07:33.0
Pushed: 2016-06-24 16:41:52.0
Homepage: null
Size: 76
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Aoe_TemplateImport module allow to use custom html file and render the placeholders.
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.
CTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
l>
<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>
ml>
Supported placeholders for template path and base path: