Homepage with one module, no content.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Oct 27, 2012 10:52 am
Reply with quote
Report this post
Hi, I need to create my homepage, with a single module like slideshow, with no content.
If I disable the content set as frontpage me back on 404.

Is there a solution to create a homepage with only a module set as homepage, without content?

Many thanks to all for the help.
User avatar
Fresh Boarder

GK User
Sat Oct 27, 2012 11:59 am
Reply with quote
Report this post
You should use option called 'suffix for pages' in template settings and set some suffix for 'Home' menu item.
Then create suffix in override.css file like below :

Code: Select all
.mySuffx #gkMainbody {display: none}
User avatar
Platinum Boarder

GK User
Wed Oct 31, 2012 12:02 pm
Reply with quote
Report this post
Thanks bkrztuk.

I activated override CSS, from advanced settings.

Added to the line
Code: Select all
.noarticlehomepage #gkMainbody {display: none;}
in override.css.

Features from the menu options of the template, suffixes for pages I wrote ItemID / Option: 101 Suffix: noarticlehomepage.

But it does not work, and the item is still displayed.
What's wrong?
Thank you very much.
User avatar
Fresh Boarder

GK User
Fri Nov 02, 2012 9:07 am
Reply with quote
Report this post
Could you show me your site ?
User avatar
Platinum Boarder

GK User
Sat Jan 05, 2013 3:16 pm
Reply with quote
Report this post
sorry my lack of knowledge, but I can not at all make it work. Done in many different ways and nothing. Note the ways I came to do:

- I created the line. NoMainbody # gkMainbody {display: none} in file override.css, then went into Extensions> Manage Template - I created an override (saving and setting for home), I went to the flap and on the features of Elements Template override Suffixes are placed on pages in code ItemID / Option: 101 Suffix: noMainbody. Then it was on Main Menu> Home> in style in Teplate selected the override I created.

I made this procedimentoo va'rias of ways: with and without activation activation override CSS, and using noarticlehomepage noMainbody, both suffix (Elements Template override is in Suffixes pages) as in override.css .. selecting and not selecting the menu item id, and can not make the articles come out of the home ...

Where is my fault?
User avatar
Fresh Boarder

GK User
Mon Jan 07, 2013 8:41 am
Reply with quote
Report this post
Could you show me your site URL ? I want to check whether the suffix is visible in firebug because from your description everything looks fine.
User avatar
Platinum Boarder

GK User
Mon Jan 07, 2013 12:32 pm
Reply with quote
Report this post
this moment is with the suffix: Itemid / Option: 101 Suffix: noarticlehomepage. And override.css:. Noarticlehomepage # gkMainbody {display: none};
URL: http://proflexcolchoes.com.br/site/

Thankful.
User avatar
Fresh Boarder

GK User
Sat Jan 12, 2013 1:02 pm
Reply with quote
Report this post
The suffix is not added to the home page >> http://d.pr/i/Enqz are you sure that your 'Home' menu item has 101 ID ?
User avatar
Platinum Boarder

GK User
Sat Jan 26, 2013 5:25 pm
Reply with quote
Report this post
Hi I have the same problem. It's crazy that it's so hard to turn the front page articles off. I never build Joomla sites where the article shows on the front page anymore.

ok. So I followed the instructions here:

To overides.css, I added: .mainbodybegone #gkMainbody {display: none}

I then turned CSS override to "ON" in the Templates advanced settings. I also pasted the same code into the "Custome CSS Code" space in the Templates advanced settings (just to be sure)

Then, under Suffixes for Pages (in Templates>features) I put and Item id of "1" (that's what my main menu is) and set the suffix to "mainbodybegone"

Does not work. I still get the white band where content would show.

Take a look here:
www.printsofspain.com

What am I doing wrong?
User avatar
Senior Boarder

GK User
Sat Jan 26, 2013 8:19 pm
Reply with quote
Report this post
Please check this article, this is step by step tutorial how to hide part of content on selected page >> https://www.gavick.com/documentation/joomla-templates/how-to-disable-content-on-selected-joomla-pages/
User avatar
Platinum Boarder

GK User
Sun Jan 27, 2013 10:22 am
Reply with quote
Report this post
This is driving me NUTS. It has taken hours and still no solution.

Ok. So I followed the instructions step by step. I tried a number of item ID's until I could see

class="noMainbody" (using firebug) in the main page (it was item id 101). Then I added:

.noMainbody #gkMainbody { display: none !important}

to the overides.css file and I turned template overides to "ON" in the template>advanced settings.

What I'm not clear is, what is the syntax for the suffix box in the Suffixes for pages part. What should I put in the suffix box?
-.noMainbody
.noMainbody
noMainbody

I believe just "noMainbody" is correct and it is worth noting that NONE of them work.

To sum up:
1) I put in suffix (template>features>Suffixes for pages), ID = 101 , Suffix = noMainbody ... visible on front page (via firebug) class="noMainbody"
2) I added to overrides.css ".noMainbody #gkMainbody { display: none !important}"
3) I set CSS overrides to "on" (template>advanced settings)
4) I also tried turing overides off and pasting ".noMainbody #gkMainbody { display: none !important}" into the custom css box in templates>advanced settings.

Nothing works.

I clean the cache each time and reloaded each page anew. What am I doing wrong?
User avatar
Senior Boarder

GK User
Mon Jan 28, 2013 8:56 am
Reply with quote
Report this post
This code looks properly :

Code: Select all
.noMainbody #gkMainbody { display: none !important}
and this is how your override.css should look like. Could you give me URL to page where you set the suffix ?
User avatar
Platinum Boarder

GK User
Mon Jan 28, 2013 9:58 pm
Reply with quote
Report this post
I've implemented it on this page:

www.printsofspain.com
User avatar
Senior Boarder

GK User
Tue Jan 29, 2013 10:13 am
Reply with quote
Report this post
In fact mainbody is hidden but the white box stays from gkContent elements, please use this code :

Code: Select all
.noMainbody #gkContent { display: none !important}
User avatar
Platinum Boarder

GK User
Sat Feb 02, 2013 4:58 pm
Reply with quote
Report this post
That's it. Great. Super thanks!

:D
User avatar
Senior Boarder


cron