I know this is for J1.5 but I can't find a 1.6 section?
I need to hide the articles from the front page, but I still need the articles to be published on the front page.
I originally found this in an article
But I can't find that code anywhere... is it the same in J1.6?Go to the HTML view of your template (or the$template/html/com_content/frontpage/default.php file), and search for the following line of code:
Enclose the above line (and the DIV tag that contains it) so it looks like this:Code: Select all
<jdoc:include type="component" />
Code: Select all
<?php if (JRequest::getVar('view') != 'frontpage'): ?> <div id="xxxx"> <jdoc:include type="component" /> </div> <?php endif ?>
Regards
Bevan