How to disable mainbody content on frontpage?

More
3 years 8 months ago #9058 by Panthera
Panthera created the topic: How to disable mainbody content on frontpage?
I would like to ask someone how to disable mainbody content on frontpage of JM-Internet template? By default, the template how to detect if a module is published in the mainbody position and it can hide (featured) articles or other types of content on the ‘Home’ menu item? The main question is that I do not want to publish/display any article on frontpage; although the Main Menu type is Blog category and automatically blog articles display on frontpage with other modules required.

In template settings, can I add the suffix ‘noMainbody‘ for a menu item with known page ID?

Thanks for help.

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

More
3 years 8 months ago #9059 by artur
artur replied the topic: How to disable mainbody content on frontpage?
Hello,
You can use 'Disable content' feature in template configuration.
Extensions -> JM Template -> Basic Settings -> Disable Component

or you can add class in Menus -> Menu -> Menu item -> Page Display -> Page class.

Regards.

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

More
3 years 8 months ago #9063 by Panthera
Panthera replied the topic: How to disable mainbody content on frontpage?
Hello Artur,

Many thanks for your response, I have found this option.

(The truth is that the new templates have this option in Settings nowadays, but I have been engaged in working with old Joomla template styles where this option could be made with a little coding... Sorry for my poor English is not my native language.)

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

Time to create page: 0.227 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.