Now its time for the table that is going to hold 99% of your
website. This will hold the left and right modules and the
main
content area.
Up until now we created a table with one table row and one
table
cell. Now we are going to create a table with one table row
and
three table cells. Below is an image with the code you are
going
to type out. Type as shown.
Notice that the user1 module position is under the left module position
and in the same table cell. This means that when viewed
anything
assigned to the user1 module position will always be under any modules
in the left position.
Main Body:
This is where we will call all of you content and information that you
type in your website for others to view. Not only that but we
will also add the top and bottom module positions for things such as
the newsflash.
You will need to add the code on lines 45 - 47. One thing to
note
is that on line 46 which calls the main body of your site is specific
to Joomla! 1.0 and up.
The right modules are really an optional thing as some use them and
some don't. So that being said we will add a little something
that will allow you to hide them it they are not wanted.
The image below represents the typical code for a right side
module. You may enter it as shown.
Now we are going to add the option to hide the right table cell if
there are no right side modules. Add the code shown on lines
49
and 53 of the image below:
Once you have again copied everything over to where you can preview it
live it should resemble the following image:
Click to Enlarge
That is basically a template. If needed we can add one more
thing
such as the footer. All that consist of is creating another
table
and creating the css to define it.