Back to Top

How to disable Joomla component on front page

To disable component on front page in Joomla

I think this is one of the common problem you’ll face while you’re working for the website of Joomla because the component always displays at one position. If there is nothing to display on page, it still be there because of this page layout messy and mostly it’s happened with the homepage because mostly we have different layout on homepage and we don’t want to go with component.

Well, I have solution of problem you face with component display so let’s see the steps to handle component display

Step 1: Create a new module and position of module is frontcomp:

Place below line of code into the index file of template you are using for the website.

Step 2: Next is to replace the below code with display component to:

Step3: Create Custom Module

Create a one new custom HTML module and the position of the module is front comps, and select home page only to display.

That’s it.Now, On the homepage of your site will not display component.
Thanks for reading and feel free to share your thoughts, don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to use Ajax in WordPress

Posted on 11 years ago

Bhumi

How to Set the Time Zone in Modx

Posted on 12 years ago

Bhumi

Understanding CSS3 Pseudo-elements

Posted on 9 years ago

Bhumi

HTML5 Canvas Element Tutorial

Posted on 9 years ago

Bhumi