Posted April 10th, 2010 by Bobby Rhone under Joomla! Templates | No Comments »
Often, when developing Joomla! templates, you find yourself needing to have a home page that is different than the rest of your site. More times than not, you don’t want to have any articles show up on the home page, but rather have a jQuery slideshow and/or a combination of modules. If you’d like to add the necessary code to hide the Joomla! main component tag add the following bit of code to your template’s index.php file:
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
// Your Joomla! main component tag/code
}
?>
Below shows the before/after of a recent template we developed using the above code:
Before:
<div id="content">
<div id="leftCol">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<div id="rightCol">
<jdoc:include type="component" />
</div>
</div>
After:
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) { ?>
<div id="content">
<div id="leftCol">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<div id="rightCol">
<jdoc:include type="component" />
</div>
</div>
<?php } ?>
In this example, we’ve eliminated the entire content area – both left and right columns – from the home page.
Of course, you could always use the same solution for determining pages that are NOT the home page, simply by using the following:
<?php
$menu = & JSite::getMenu();
if ($menu->getActive() != $menu->getDefault()) {
// Your non-homepage code
}
?>
Posted March 1st, 2010 by Bobby Rhone under Joomla! Templates | No Comments »
Joomla templates are like extra outfits in a wardrobe. They allow website owners to change the look of their websites if the need should ever arise. For instance, companies might decide that they would like their website to reflect the spirit of a season or simply wear a new look. With Joomla’s easy to use content management system, making these changes can be done by anybody once the template files have been uploaded.
However, before these changes can be achieved, site owners will first need to get the templates which they intend on using. There are two ways of going about this. People can either buy a regular template or instead buy one that is custom made for their needs. Although buying a regular template is undoubtedly a cheaper option it is not exactly a better one. There are many advantages which investing in a custom template provides. As any web developer will point out, there are many reasons behind the appeal and importance of custom made Joomla templates. A few of these include:
Read more »
Posted February 28th, 2010 by Bobby Rhone under Joomla! Newbie, Joomla! Templates | No Comments »
Installing a New Joomla template is not particularly difficult. It is in fact rather easy. You do not require the services of a web developer or a 600 paged directional manual. You will also not require a computer degree. With a computer and working connection to the web, changing or installing a Joomla Template can be done by practically anyone.
The following are some of the steps which are required for the installation of a Joomla Template:
Read more »
Posted February 27th, 2010 by Bobby Rhone under Joomla! Newbie | No Comments »
Most people believe that the basic structure of Joomla and Wordpress are the same. This is not true. Many people also are of the assumption, that there is very little to be gained between choosing from either Joomla or Wordpress. Again, this is not true.
There are certain common areas of similarities amongst the two. Joomla, just like Wordpress, is a content management system that is designed to provide users with the options of regular control over the contents of their page. Both of these two management systems require the login of the owner and offer a control panel through which the management of the website’s contents can be made. However, aside from these common similarities, there are significant differences between the two.
Identifying these differences can be achieved by paying attention to the core structure of each of these systems. During its design, Wordpress was constructed primarily for use amongst the blogging community of the web. It thus offered an easy to use interface. Most users can often have their site up and running in less than 30 minutes. Joomla, on the other hand was created on a sterner frame work that took into consideration the needs of businesses and people that would require websites with stronger applications as well as provisions for ecommerce use. As can be gleaned, there are certain areas where one of these is better than the other.
Read more »