Just that. I changed the front page to "my-front-page". Now the fields for this node aren't shown.

The node I set as is a 'basic page content type' node. This content type has a 'body field'. In this body field I put some text. When viewing the front page the 'body field' is not shown. I already checked 'manage display' for this content type and the body field is enabled. –

What is wrong with this?

Comments

chefnelone’s picture

Issue summary: View changes

more

demoshane’s picture

Modifying frontpage is something Im interested in too.

mr.baileys’s picture

Title: How to change the Front page? » Main content disappears when set as front page.

Running into the same issue. Whenever I set a node or a view (it is not just limited to nodes) as front page through Site Information > Default front page, the content disappears. Once I remove the node/view as front page, the content is visible again.

mr.baileys’s picture

Tracked this down to this commit.

I tried to find more information through Gerrit, but let's just say that after our first 5 minutes, Gerrit and I decided we are never going to be friends, since no matter what I throw at the his search box (SHA1, commiter, partial commit message, ID 8562), I end up with zero results...

Without access to the original ticket, I don't know what the reason for the change is, but I do know that removing themes/commerce_kickstart_theme/preprocess/preprocess-page.inc (only has 3 lines of actual code) fixes the issue for me.

chefnelone’s picture

@mr.baileys: removing these lines didn't work for me. Did you do something else?

mr.baileys’s picture

Sorry, pasted the wrong filename in #3, try commenting/removing profiles/commerce_kickstart/themes/omega_kickstart/preprocess/preprocess-page.inc

chefnelone’s picture

thanks you.

theo_’s picture

Status: Active » Fixed
bojanz’s picture

Status: Fixed » Active

This is not fixed yet.
We want to remove the preprocess function and hide the block on the frontpage via block visibility rules.

krabbe’s picture

I'm using a sub them of omega-kickstart and having still problems with the front page. After deleting the preprocess function I can see the view I created, but the theme is corrupt. The ID "region-content" disappeared from front page and the floating of my theme doesn't work anymore. I'm not sure, but I think it has something to do with commerce_kickstart_merchandising plugin.

rfamans’s picture

Hi guys, pls have another look at this issue. It is very annoying that product list does not show if you set the site frontpage to products/all. I am on RC4.

esbon’s picture

I have the same problem, I need to put a View in the frontpage, but this nice theme does not display it.

vasike’s picture

Version: 7.x-2.0-rc1 » 7.x-2.x-dev
Status: Active » Needs review

here is a gerrit commit for this : https://code.drupalcommerce.org/#/c/563/
Disables only the default system message for the default frontpage on Commerce Kictsart theme and change the blocks visibility, only for the "node" path not .

it also uses the patch for the Omega Kickstart patch : #1819906-5: If setting alternatiive default frontpage - all content disappears

bojanz’s picture

Status: Needs review » Fixed

Merged.

kingfisher64’s picture

Priority: Normal » Major

Can confirm that dev version of kickstart dated 14th Dec solves this issue. Really could do with a rc5 commit asap given that this is not really a priority normal issue. Not being able to set the frontpage is pretty major.

bojanz’s picture

We are tagging a 2.0 tomorrow.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

chefnelone’s picture

I have problems again with the general layout of the page when setting it as frontpage.
Just happens if the page is set as frontpage.

I reopen this issus because I think that the source of this isssue might be the same

  • The "tabs" div disappeared (the tabs for the 'edit', 'translate',.. links)
  • the first and second sidebars don't float.
  • I can't reorder the blocks

I'm using display suite module if this helps.

chefnelone’s picture

Version: 7.x-2.x-dev » 7.x-2.2
Status: Closed (fixed) » Active

removing all lines from profiles/commerce_kickstart/themes/omega_kickstart/preprocess/preprocess-page.inc doesn't work.

kingfisher64’s picture

promoting content to frontpage default /node in 2.2 still doesn't show up. If we use the /frontpage view and use that instead all promoted content shows up.

kingfisher64’s picture

Promoting content to frontpage from article content type (recreated that) has no issues in showing up. Not tested products but basic pages cannot be promoted to frontpage. Stands to reason really though considering that a single page is precicely that. Showing a list of basic pages on the frontpage isn't logical. One page with many containing articles.

May it suggest re-introducing the article content type into kickstart2 for this purpose?

bojanz’s picture

You are free to create that content type yourself. It makes no sense for Kickstart to include it if it's not doing anything with it.

chefnelone’s picture

Any news on this? How do you manage to set a page as a front page? Please help...

kingfisher64’s picture

structure > views > enable frontpage view. Then on basic pages set "promote to frontpage" on promotion settings (in the tab area of the form).

chefnelone’s picture

#23: it works , but if I set the frontpage at 'admin/config/system/site-information' then is not working again. I must leave it blank. This not right at all.

I don't really understand all the fuss about the home page in this distribution, why not to allow it to works as default in Drupal system? Why is not possible to set a single page as front page?

kingfisher64’s picture

#24 answered in #21 - "You are free to create that content type yourself. It makes no sense for Kickstart to include it if it's not doing anything with it."

I disagree with this decision to remove the article content type for the reasons your running into now and many more people may run into.

On the other side the project does say kickstart as in helping commerce to get started on drupal so there is nothing stopping anyone (like I did) just adding it back.

I'd have been tempted to just leave the default drupal content types as they are.

chefnelone’s picture

#25: I think I don't explain myself clearly.

In my case I can not use any content type (even a new created content type) to set any node as home page at: 'admin/config/system/site-information'

What I did:

  1. Create a content type called: Animals
  2. Create a node of the Animals content type called: cat
  3. Go to 'admin/config/system/site-information' and set "cat" as home page
  4. Go to home page and the layouts are a mess

Setting any node of any content type as home page just break all the layout of the page, divs loses their classes, links tabs (edit, translate,...) disappeared, .... etc.

There is a issue with this. I'm using display suite module if that helps.

chefnelone’s picture

I will appreciate any idea to fix my problem in #26. thanks

vishy_singhal’s picture

Some ground rules when you create your own content type -

By default they are promoted to front page, that will show up in your home page which will result in spilling things here and there.

Secondly, this is not a commerce kickstart issue. If you want to set your homepage - there are two options
#1. install pages module and then design your own custom tpl file and paste it within commerce_kickstart/profile/themes/template/page--front.tpl.php or within your sites/all/themes/commerce_kickstart/templates/page--<>.tpl.php
#2 - Create a view and then paste the same tpl file as mentioned in the above folder.

chefnelone’s picture

Thanks, I'll try these methods.

But I just don't understand why is a problem for this distribution to allow us to set a simple page as a front page. You can do this with clean drupal installation with no problem at all.

chefnelone’s picture

#28: none of these methods worked for me.

I just get around this with a dirty fix. I create a fake home and then I add a redirection from this fake to my real front page.
Hope to see this fixed.

vasike’s picture

Status: Active » Closed (fixed)

"Main content disappears when set as front page." is the issue and i think this is fixed.

Thanks for your efforts, but other/new issues should be created for the other problems with the frontpage (regarding broken layout or bad display, tabs missing, etc).

vasike’s picture

Issue summary: View changes

more