I’m creating a Joomla 1.6 template and I would like to make the first page different from the others (I say, the others with articles). What I expect is something like it:
<?php
if(this_page_link_to_an_artcile || this_page_is_not_the_main) {
?> <jdoc:include type="component" /> <?php
}
?>
I looked in one of the standard templates and got somewhat lost trying to find the “if” which makes not be showed in some pages.
(EDIT: now works in Joomla! 1.6)
(
$is_article || !$frontpageshould always return true … because if it is not an article, it is not the frontpage. Depends on how you define “is an article”, of course.)