If you are using Joomla CMS based website and hate overlapping visibility of Joomla components on your website home page, then you have found the right article to get rid off with this monsters problem. Though, Joomla components plays an important role in enhancing the functional abilities of a website, but the overt presence of these tools can kill the looks of your enticing website homepage.
You can use this trick to disable Joomla components from your website homepage.
Develop a new module and set the location as frontcomp:
You need to place below given codes into the index file of your Joomla template.
<?php if($this->countModules(‘frontcomp’)) : ?>
<jdoc:include type=”modul es” name=”frontcomp” style=”xhtml” />
<?php endif; ?>
Now Replace Below Code With Display Component:
<?php if(!$this->countModules(‘frontcomp’)) : ?>
<jdoc:include type=”message” />
<jdoc:include type=”component” />
<?php endif; ?>
Creation of Custom Module
It is the third step of your process. Now, you need to create a new and customized HTML module, set the position of module as Frontcomp and select homepage only to display.
Thatâs it! You have done it fabulously
Now, you can visit your website and check the expected changes. If you did not find overlapping Joomla components at the home page of your website, then you have certainly did a great job.
Your website will look good and grab the proper attention of your online visitors. If you still find any issues in removing the unwanted presence of components from your website homepage, then you can take help of PSD to Joomla conversion companies. Such companies will help you in giving a proper look and feel to your upgraded website.