February 1, 2017 05:00 by Armend
In case you are utilizing Joomla CMS dependent web-site and hate overlapping visibility of Joomla components on the website property web page, then you definitely have found the appropriate write-up to receive rid off with this monsters trouble. However, Joomla parts plays a crucial function in improving the practical talents of a web-site, although the overt existence of these equipment can destroy the appears of your enticing 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.
Best Joomla Hosting
ASPHostPortal.com is the leading provider of Windows hosting and affordable Joomla Hosting. Joomla 3.4 Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your Joomla website. Joomla is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.