Joomla – Template: Place Text (Part 8)

Posted: December 5, 2012 in Open source CMS

Share your word with the world

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:

View original post

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.