Start a FREE 7 day trial! Get training videos and books, plus expert support:  

Joomla Tutorials and Blog Posts

Conditional Statements in Joomla Templates

When you're building a Joomla template you'll often need to make the design flexible. That means that areas of the site can be shown or hidden on different pages. The solution is to use conditional statements and this tutorial will introduce you to what they are and how they're used:

This tutorial is part of our full Joomla Template Class available to all members. Click here to find out more.



Session Notes for This Tutorial

Here is the code we used in this tutorial:

Index.php Code



<link rel="stylesheet" href="/templates/system/css/general.css" 
type="text/css" />

<link rel="stylesheet" href="/templates/system/css/system.css" 
type="text/css" />

Template.css Code

 #wrapper { width: 900px; text-align: left;	/*margin: 0 auto; padding: 0px; */} 

img {border: none;}  

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: