Make your own Joomla Template: Part 5 (Creating Layout)

Filed Under ( Joomla, PHP, Photoshop, Programming, Technology, Tips, Tutorial ) by admin on 07-09-2008

Tagged Under : , ,

Joomla Template Tutorial - Part 5: Before put content, we must design the blocks where module or component placed. In this posting, we use ‘classic’ HTML (I mean, use <table> not <div>).

Our layout target like following picture:

1

Ok, open index.php within folder mytemplate. Enter following code:

< ? 
// no direct access 
defined( '_JEXEC' ) or die( 'Restricted access' ); 
? > 
< html > 
< head > 
< / head > 
< body > 
<table border="1" width="100%" bgcolor="#ffff00">
<tbody>
<tr>
<td colspan="3">Top</td>
</tr>
<tr>
<td colspan="2">User 3</td>
<td>User 4</td>
</tr>
<tr>
<td rowspan="2">Left</td>
<td colspan="2">
<table border="1" width="100%">
<tbody>
<tr>
<td>User 1</td>
<td>User 2</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="200">Component</td>
<td>Right</td>
</tr>
<tr>
<td colspan="3">Footer</td>
</tr>
</tbody></table>
< body >
< html >
Related Posts with Thumbnails

Related posts:

  1. Make your own Joomla Template: Part 6 (Using jdoc)
  2. Make your own Joomla Template: Part 3 (My First Template)
  3. Video Tutorial: Creating a PNG thumbnail for Joomla template Part9
  4. Make your own Joomla Template: Part 4 (Activate Template)
  5. Step By Step Joomla Programming (TOC)

Comments:

Post a comment

HI