Joomla - Template: Place Text (Part 8)

Joomla Template Tutorial - Part 8: Texts is an element in web. In this posting, we will learn how to place text in our template. We use JText to replace direct text.

This is example using text in joomla template:

<?php echo JText::_('Powered by') ?> 
<a href="">Joomla!</a>.
<?php echo JText::_('Valid') ?> 
<a href="">XHTML</a>
<?php echo JText::_('and') ?>
<a href="">CSS</a>.

Put it on your layout within index.php. Example result like this:

Series this article:
Joomla - Template: Understanding Basic Template (Part 1)
Joomla - Template: Understanding Module Position (Part 2)
Joomla - Template: My First Template (Part 3)
Joomla - Template: Activate Template (Part 4)
Joomla - Template: Creating Layout (part 5)
Joomla - Template: Using jdoc (part 6)
Joomla - Template: Using Parameters (Part 7)
Joomla - Template: Place Text (Part 8)
Joomla - Template: Creating Preview Thumbnail (Part 9)

Bookmark and Share Tag: joomla, template Category: Web Design, PHP Framework Post : December 20th 2007 Read: 35,676


blog comments powered by Disqus