module template generate a data csv file
Design and Skin Customization
This is an Aparna-generated module.
report.tpl is, in fact, saved exactly as you suggested, yet it outputs a header and footer.
Could it be that templates use index.tpl as a framework?
This is index.tpl:
{jrCore_include template="header.tpl"}
<div class="block">
<div class="title">
<h1>{jrCore_lang module="agTask" id="10" default="Task"}</h1>
</div>
<div class="block_content">
{jrCore_list module="agTask" order_by="_item_id numerical_desc" pagebreak="10" page=$_post.p pager=true}
</div>
</div>
{jrCore_include template="footer.tpl"}