While creating a new view and after added the specific content to it.It's not showing the content which I've created instead it's showing
"no front page content has been created "
While creating a new view and after added the specific content to it.It's not showing the content which I've created instead it's showing
"no front page content has been created "
create a basic page or article and promote to front. or
I am using drupal 7.
" Welcome to YOUR SITE NAME " and " No front page content has been created yet." message are gone !
or in D7, I personally have used and like two edits in my theme's 'page.tpl.php' template:
1.) To remove the default message, anywhere within the page is added
<?php if(drupal_is_front_page()) {unset($page['content']['system_main']['default_message']);} ?>
2.) To remove the default page title,
<?php if ($title): ?> is changed to
<?php if ($title && !drupal_is_front_page()): ?>
Alternatively, one could use a template override ('page--front.tpl.php') and specify this output to be omitted.
or refer this module https://www.drupal.org/project/empty_front_page
or You don't need to add modules for small changes: you can override your template file and add the followning code :
function MYTHEME_preprocess_page(&$vars) {
if (drupal_is_front_page()) {
unset($vars['page']['content']['system_main']['default_message']); //will remove message "no front page content is created"
}
refer this link for more https://www.drupal.org/node/1049290
Go to "admin/config/system/site-information
" to set front page.
Bottom section of this page there is a option for set "Default front page".
Give the view link in "Default front page" textbox. You will not able to see that message.