I forgot to add, the contents generated by these functions are controlled
through CSS. It's only the positioning that you can manipulate in the
INDEX.PHP.

On 2/15/07, hard wyrd <[EMAIL PROTECTED]> wrote:

Kris, kung gusto nimo hardcore na editing sa template na walay gamit
editor, you will need to know how Joomla uses the INDEX.PHP file in the
template.

INDEX.PHP contains the following functions:

<?php mosShowHead(); ?>
- controls the display and parameters of the head-related objects like
page banners, etc.

<?php mosPathWay(); ?>
- I forgot about this. Seems related to keeping track of which section of
the site you are in. (ie. when you are in a subsection of a forum etc..) Not
sure.

<?php mosLoadCurrentDate(); ?>
- Date-related function including how to display the date, date format,
time, etc..

<php mosMainBody(); ?>
- anything and everything related to displaying the main contents.

<?php mosLoadModules('left');?>
- everything that you will declare in Joomla Administration to be
displayed to the left panel of the page will be put here. So the Main Menu,
other menus, and objects declared "left" position will be here. If you want
everything to be on the right, then put this function on the right pane (eg.
" <td></td>") of the INDEX.PHP layout table.

<?php mosLoadModules('right');?>
- opposite of the above.

<?php mosLoadModules('user1');?>
- user related

<?php mosLoadModules('user2');?>
- user related

<?php mosLoadComponent('banner', -1);?>
- banner advertisements will be displayed here. This will contain the
"banners" that are not related to the head section. You will see the setting
in Joomla Administration. Usually some people disabled the advertisement
banners. This controls them.

For images that you will include in your template, you will also need to
declare them in TEMPLATE_CSS.CSS as well as the template thumbnail.


I have a blank template framework for Joomla, doesn't include images. I
can email it to you if you want.

Regards!


--
"A dog that has no bite, barks loudest."
Registered Linux User #400165
Subscribed to:
LARTC, Open-ITLUG, PRUG, KLUG, sybase.public.ase.linux
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://cdo.linux.org.ph)
Searchable Archives: http://archives.free.net.ph

Reply via email to