Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Front Page Component

Featured Lock Resolved
I want to disable the front page component, I just want modules on the front page.

Thanks.

2 Answers

Kawshar Ahmed - Senior Staff

More than a month ago #Permalink
Open index.php file of News template and replace
<div class="contents">
<jdoc:include type="message" />
<jdoc:include type="component" />
<div class="clr"></div>
</div>


with

<?php if ($_REQUEST['view'] != 'frontpage') { ?>
<div class="contents">
<jdoc:include type="message" />
<jdoc:include type="component" />
<div class="clr"></div>
</div>
<?php } ?>


finally save and refresh ur browser.

A Lewis

More than a month ago #Permalink
Thanks kowshar :)


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 127
Sifat

Sifat

Total Accepted Answers: 83
Toufiq

Toufiq

Total Accepted Answers: 70
Pavel

Pavel

Total Accepted Answers: 6
Sohan

Sohan

Total Accepted Answers: 5

114

Templates

293256

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us