Alright, let's try to create a 3 column index page! We'll start with the index.tpl file
<!-- INCLUDE BLOCK : header -->
<div id="container1"><div id="container2">
<div id="leftindex">
<div class="block">
<div class="title">{info_title}</div>
<div class="content">{info_content}<br>{login_content}</div>
</div>
<div class="block">
<div class="title">{random_title}</div>
<div class="content">{random_content}</div>
</div>
</div>
<div id="rightindex">
<div class="block">
<div class="title">{recent_title}</div>
<div class="content">{recent_content}</div>
</div>
</div>
<div id="middleindex">
<div id="welcome">
{welcome}
</div>
<div class="block">
<div class="title">{categories_title}</div>
<div class="content">{categories_content}</div>
</div>
<div class="block">
<div class="title">{news_title}</div>
{news_content}
</div>
</div>
<div class='cleaner'> </div>
</div></div>
<!-- INCLUDE BLOCK : footer -->
And without any CSS at all this is what it will look like:
{info_title}
{info_content}
{login_content}
{login_content}
{random_title}
{random_content}
{recent_title}
{recent_content}
{welcome}
{categories_title}
{categories_content}
{news_title}
{news_content}

Print this page
Recommend this
