-
Book Overview & Buying
-
Table Of Contents
Joomla! 1.5 Templates Cookbook
Any Joomla! template will need to insert content managed by Joomla! into your website. This is done with the jdoc statements in the Joomla! template.
Open the index.php file of the rhuk_milkyway template, which is located in the templates\rhuk_milkyway directory of your Joomla! installation.
Each "block" of content within Joomla! is inserted with a different jdoc statement within the index.php file. There are four fundamental statements that we'll look at:
Component jdoc statements
Head jdoc statements
Module and modules statements
Component jdoc statements insert the main content for the current component into your Joomla! template. You can insert the primary page content for a particular page in Joomla! with this jdoc statement, within the<body> element of your page:
<jdoc:include type="component" />
Simple! This statement ensures that any page title and content associated with the page is inserted...
Change the font size
Change margin width
Change background colour