Closed (fixed)
Project:
Omega
Version:
7.x-3.0-rc5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2011 at 18:35 UTC
Updated:
14 May 2016 at 11:52 UTC
Jump to comment: Most recent
Comments
Comment #1
himerus commentedIn my own subthemes for custom homepages (I often do something very similar), I'll use the Delta module for a custom layout on the homepage, where I rely on the other regions zones (not content or sidebars) to place all the specific data I need, and in my settings for the Delta override, I will set the content zone to NOT be displayed for that front page context.
Comment #2
fubhy commentedComment #4
dan_metille commentedI'm trying to remove the 'Welcome to (YourSite)' title from the front page. But until now I'm failing with all the usual ways.
As far as I understood, I should create a 'process/process-page.inc' with the following code:
But this is unsuccessful...
Can anyone help please?
Comment #5
icosa commentedRe: #1 about not displaying content zone on home page.
I assume that the only thing you can really put in those other zones / regions are blocks. Is that right or am I missing something?
Of course blocks can come from modules or views (well... I guess views is a module) as well as static html.
Like many people, I'm still getting my head around it all but in general Omega and Delta look great. I definitely want to use it for my next project.
Thanks
Comment #6
mahu commentedsubscribing
Comment #7
Argus commentedThere are a few ways to create your front page. Removing the welcome message is not a solution at it self though. You need to learn the ways to fill the Content region of your Drupal pages.
1) You can add a (basic) page and use that page as the Content part of your homepage. Use all HTML/CSS you want/need here.
2) You can create a Views page and use that View as your home page. Dynamic content is now available!
3) Use a module to customize your front page.
Removing is done by filling with needed content.
Comment #8
fubhy commentedThanks Argus.
Comment #9
dan_metille commentedYes, thanks a lot. So simple... and I was looking for complication. In my case solution #7 2) is perfect!
Comment #10
knalstaaf commentedWouldn't it be more simple if one would just add
<front>to the display everywhere but field in the block called "Primary content of the page"?I've done so, but Omega doesn't seem to listen. I'll apply one of the alternatives mentioned above.
In my case I need the content region on the front page for other purposes, so I can't just remove it from the Omega settings, hence the remark.
I wonder to what extent this default front page behaviour is considered as a standard function / client request on most websites. I can't think of (m)any websites who use this as the default behaviour, but I could be wrong.
Comment #11
knalstaaf commentedI've solved it by removing the content region (through Delta & Context) and adding a new custom made region as a replacement.
Surprisingly simple!
Comment #12
Anonymous (not verified) commentedArgus,
I'm having the same "problem." #1 sounds like the solution for me. How do I do that?
Thanks.
Comment #13
Argus commented1) Create a page (add content > basic page)
2) Note the node number (yoursitename/node/[numer])
3) Go to the Site information page (Configuration > Site information)
4) In the section Front Page, fill in the nodenumer from the page you created (node/[number]) for Default front page.
Done
Comment #14
Anonymous (not verified) commentedThank you Argus. I'd been struggling with that for awhile. Problem solved!
Comment #15
IamOnStage commentedI use blocks on the front page.
Is there a way of removing the "Welcome to < sitename >" and/or "No front page content has been created yet." without having to create a page?
I have seen methods that adjust page.tpl.php but these methods do not coincide with the Alpha page.tpl.php.
THB, both the "Welcome to " and "No front page content has been created yet." are outdated functions for Drupal. If someone needed to add the text "Welcome to ", this can easily be created with a block or page and I don't think any who can make a Drupal site needs reminding that there is "No front page content has been created yet."
It just seams that the efforts to remove these massively out weight the efforts to add the content themselves.
Comment #16
Argus commentedDid you try to search for the answer? There are dozens of posts about the subject from as far as 2004 back.
Anyhow, check here: http://drupal.org/node/1049290#comment-5961082
Comment #17
Syd Barrett commentedI used to take out that welcome message through various php coding and css "display:none" but I was replacing that welcome message with a block or a view so I just created a view, I went on Configuration > System > Site Information and here we go. It's much easier and quicker. Anyway you will put there a view or a static page so there is no point to hack the code.
Comment #18
elijah lynn#1 is great, using Context module you set a condition for path with the value of then assign a Delta reaction to it. You need to first make a delta ( admin/appearance/delta/add), I called mine "Front Page Layout", saved it. Then configured it by going to "Zone and region configuration" > "Content Section" > "Content Zone" > "Configuration" > and finally set the "Section" to "none" and save configuration. Now your Delta will be available as a "Reaction" for Context.
This is a very elegant solution and is the way I recommend to do it. A lot of the other ways mentioned are hacks.
Comment #19
fubhy commentedOmega 4.x has a simple setting that allows you to hide the content on the front page. Below is an extracted version of what I put into Omega 4.x to make that happen. This is the most elegant solution I could think of.
Comment #20
joelcollinsdc commentedIts crazy that this is so hard.
Setting a page to be your home page doesn't make sense in the scenarios that your home page is comprised of a lot of blocks (which it seems most home pages are). What page will be the home page? An empty page of content?
Disabling the content region has strange consequences since some modules hook into the rendering of content for their functionality. Meta tag is the one that comes to mind.
FWIW, this is how i accomplished this. Please feel free to tell me why this is unwise, because it seems hacky.
Comment #21
tdhughes commentedthank you Argus.
Comment #22
kumarAbhi commentedHi all
I am new to drupal so i am facing problems.
here i don' t want content to display on mane page i e home page so how to restrict a content?
please any body help me to know this.
Comment #23
knalstaaf commented@kumarAbhi: in case you are referring to the general Drupal functionality (unrelated to the Omega theme), check this topic: Delete "No front page content has been created yet"