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
Comment #0.0
chefnelone commentedmore
Comment #1
demoshane commentedModifying frontpage is something Im interested in too.
Comment #2
mr.baileysRunning 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.
Comment #3
mr.baileysTracked 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.
Comment #4
chefnelone commented@mr.baileys: removing these lines didn't work for me. Did you do something else?
Comment #5
mr.baileysSorry, pasted the wrong filename in #3, try commenting/removing
profiles/commerce_kickstart/themes/omega_kickstart/preprocess/preprocess-page.incComment #6
chefnelone commentedthanks you.
Comment #7
theo_ commentedComment #8
bojanz commentedThis is not fixed yet.
We want to remove the preprocess function and hide the block on the frontpage via block visibility rules.
Comment #9
krabbe commentedI'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.
Comment #10
rfamans commentedHi 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.
Comment #11
esbon commentedI have the same problem, I need to put a View in the frontpage, but this nice theme does not display it.
Comment #12
vasikehere 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
Comment #13
bojanz commentedMerged.
Comment #14
kingfisher64 commentedCan 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.
Comment #15
bojanz commentedWe are tagging a 2.0 tomorrow.
Comment #17
chefnelone commentedI 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
I'm using display suite module if this helps.
Comment #18
chefnelone commentedremoving all lines from profiles/commerce_kickstart/themes/omega_kickstart/preprocess/preprocess-page.inc doesn't work.
Comment #19
kingfisher64 commentedpromoting 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.
Comment #20
kingfisher64 commentedPromoting 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?
Comment #21
bojanz commentedYou 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.
Comment #22
chefnelone commentedAny news on this? How do you manage to set a page as a front page? Please help...
Comment #23
kingfisher64 commentedstructure > views > enable frontpage view. Then on basic pages set "promote to frontpage" on promotion settings (in the tab area of the form).
Comment #24
chefnelone commented#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?
Comment #25
kingfisher64 commented#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.
Comment #26
chefnelone commented#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:
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.
Comment #27
chefnelone commentedI will appreciate any idea to fix my problem in #26. thanks
Comment #28
vishy_singhal commentedSome 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.
Comment #29
chefnelone commentedThanks, 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.
Comment #30
chefnelone commented#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.
Comment #31
vasike"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).
Comment #31.0
vasikemore