Hey,
this is just a little Tutorial (MOD) which explains how to add a new table in your frontpage.
It will look like the
who's online-table and you can fill it with your content.
Let's start.
Please make a backup first!
Step 1 open
home.html in your template folder
(your-website/templates/your-template/home.html)Step 2 add this whereever you want:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="head1" valign="top">{lang_your_headline}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="head1">
yourcontent
</td>
</tr>
</table><br>
Step 3 replace
yourcontent with a text, image or whatever
Step 4 open main.php in your language folder
(your-website/lang/your-language/main.php)Step 5 find
?>and add this above:
$lang['your_headline'] = "Name of your headline";To change the name of the headline, replace
Name of your headline with your text.
Examples:If you want to add the new table below the categories section:
Example Step 6 find
<td class="row2" valign="top">{categories}</td>
</tr>
</table>
</td>
</tr>
</table>
and add the same as explained in
Step 2 below.
That's it!
Regards,
Patrick