The easiest way to master Epan Template system is to start with existing HTML Template and convert it into Epan Template. For this section we are taking one free HTML template from internet and will convert it into Epan Template.
We will have a step by step tutorial in next and a video followed by but here are the steps just to get started.
Assume you have a HTML Template in folder a folder, lets call it www, but it can be anything like template2134.
<body>
<div class="xepan-v-body xepan-component xepan-sortable-component" xepan-component-name="Main Body">
<nav>
...
</nav>
<div xepan-component="xepan/cms/Tool_TemplateContentRegion" class="xepan-component xepan-page-wrapper xepan-sortable-component">{$Content}
</div>
<footer>
...
</footer>
</div>
</body>
<div xepan-component="xepan/cms/Tool_TemplateContentRegion" class="xepan-component xepan-page-wrapper xepan-sortable-component">{$Content}</div>This portion will render your main pages in places
<meta name="description" content="{meta_description}{/}">You should remove other meta tags for keywords and description.
<meta name="keywords" content="{meta_keywords}{/}">
<title>{title}xEpan CMS{/}</title>
<!--xEpan-ATK-Header-Start
{$js_block}
{$js_include}
<script type="text/javascript">
$(function(){
{$document_ready}
});
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
xEpan-ATK-Header-End-->
{$after_body_code}
To Make content editable you have to simple add few classes and/or attributes on your html tags and thats it. Here are few classes that defines what they do.
Let's understand template development by this short video: