Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Request: option to disable component on home page

More
10 years 11 months ago #31311 by Boradan
Would there be any chance to add the ability in template options back end to disable the main joomla component in the home page so that your home page will only show modules?

Basically, the option would remove this code from the index.php in the template:
Code:
<div id="content" class=""> <div class="inner clearfix"> <jdoc:include type="message" /> <jdoc:include type="component" /> </div> </div>

Possibly,leaving the "message" there.

This would then allow the ability to easily create a site with modules only, without the main content body.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #31312 by ced1870
Hi
you can use this technique
www.template-creator.com/en/blog/22-how-...nt-on-specific-pages

It allows you to choose what to show or not according to the page
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 791 guests and one member online