by Bhumi // Nov 4,2012 // No comment
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 display 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
Place below line of code into the index file of template you are using for website.
<?php if($this->countModules('frontcomp')) : ?>
<jdoc:include type="modules" name="frontcomp" style="xhtml" />
<?php endif; ?>
<?php if(!$this->countModules('frontcomp')) : ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
<?php endif; ?>
Create a one new custom html module and the position of module is frontcomp, and select home page only to display.
That’s it.Now, On homepage of your site will not display component.
This Month I have not written much posts because of lot of work so haven’t got time to write article but Good news for readers READ MORE
Recently I am working on one project and i wanted to provide sorting save and edit option to the title in joomla website. In this READ MORE
Joomla is a one of the most popular open source CMS and i know you all the latest version of Joomla 3 has some great READ MORE
In this tutorial series,today I am going explain about how you can do customization in child product drop-down display in product detail page like in READ MORE
Recently I was working in Joomla application and application have shipping functionality and I want to limit free shipping for specific country in Virtuemart component READ MORE
Posted on Mar 2,2012
Posted on Dec 1,2011
Posted on Nov 26,2011
Posted on Dec 12,2011
Posted on Nov 22,2011
Be a Contributor at CreativeDev.Write an article or tutorial to the community and share some of your knowledge!