- 🇮🇹Italy apaderno Brescia, 🇮🇹
I am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version
Hello,
please, can anyone tell me how to remove 'Read more' on the front page (home page) and display the whole page on multilanguage web (english, czech, german) front page - read more
I tried the below but nothing helped:
1) I set up in: Configuration > SYSTEM > Site Information > node/1
The front page is than the same (only one language) for each language version. This is wrong!
Each language web version need to has own front page side.
So I set up back:
Configuration > SYSTEM > Site Information > node
2) I created in my template.php the following function to force to 'teaser' view to 'full page'
but it doesn´t help:
function themename_preprocess_node(&$variables) {
$variables['view_mode'] = 'full';
$variables['page'] = TRUE;
$variables['content']['links'] = FALSE;
}
OR:
function themename_preprocess_node(&$variables) {
unset($variables['content']['links']['node']);
}
3) I add. the code below in to my theme (garland-moje) „style.css“ but haven´t
fixed the problem :
/** Nodes & comments */
.front .node-readmore {
display: none;
}
OR:
) created a custom content with the name "front-page" and gave it a title and also put the title in the content area and style it with the usual "h1" tag. Code:
.node-front-page .node-readmore,
.node-front-page .node-title {
display: none; }
Thanks for answer in forward.
Pete
Closed: outdated
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version