By halloffame on
How will I remove the welcome to your new drupal site message that appears in the front page where there is no 'promote to frontpage' content? You see I will be displaying all the contents of my site using my own custom views. But as it turns out the welcome message seems not to disappear.
Comments
page-front.tpl.php
you can create a page-front.tpl.php file and remove the $content call.
~silverwing
_____________________________________________
Land of Midnight | MisguidedThoughts | showcaseCMS
Or....
Other options:
I think you could also go to: Admin > site information > Default front page
and instead of 'node', put the url of your default view that you want
to display when users click 'home' or go to www.yourDomain.com
This means that the 'welcome' page would only be shown if someone
purposely put www.yourdomain.com/node into their browser bar.
If that bothers you, you could create an htaccess 301 redirect for
www.yourdomain.com/node to www.yourdomain.com
Or alternatively, create one page saying 'you appear to be lost, please
use the menus to choose your content', and promote only that one
page to the front.
(No subject)
I am having the same problem
I am having the same problem trying to get rid of the "Welcome to your new Drupal website" and replacing it with page copy that my content managers can edit. But I am running 6.15 and I don't have an Admin > site information my version is worded as Administer and then either "Content management", "Site building", "Site configuration", or "Affiliated content". Which path do I go down which will allow me create my page copy?
Solved
I checked the "Send to all affiliates" box and the content appeared
Hi I am no at all used to
Hi
I am no at all used to this topic ( I mean creating websites or not ven used to filling them with info) so I don't understand really how I can create this page-front.tpl.php file and remove the $content call........
I have created a new page with a new welcome but I have no clue how to get it to appear on the front page instead of the "Welcome to Drupal"
As for the second option I found the "node" part but I don't really understand whcih URL I have to put in instead. Do I have to create a whole new site somewhere else or can I somehow use the page I have already created just by pressing "Create content" --> page when I am logged in???
As I always say, please explain as if I was 4 years old..... :-)
Thanks!!!
¤
If you have created a page
If you have created a page by pressing "Create content" --> page, then look at its URL and use it.
If for example your page is http://www.example.com/node/10 and you want to use it as your front page, then go to admin/settings/site-information, "Default front page", and replace
nodewithnode/10. That page is what the visitors will always see in your front page.If that is not what you want, but you only want the home page to show any content you have added recently and not a Welcome message, then simply select "published" and "promoted" in the "Publishing options" when you are editing any content.
(No subject)
Or you can go to
Or you can go to admin/settings/site-information and change default front page to
node/1(a node which you have created) instead ofnode. Or use the URL of a page view.of yours.Ok folks! Thanks thanks!
Ok folks! Thanks thanks! Much appreciated.
Regarding method no. 1 will it be alright to create a page-front.tpl.php identical/exactly as the original and the only thing removed was the $content call and replaced with my custom region say $contentfrontpage?
Is it possible to encounter any problem/error by doing so? Cuz this is what I plan to do and I don't intend to do it the wrong way.
shouldn't be any problems
on my showcasecms.com site (link below) I removed the $content from the page-front.tpl file and added regions. The top 'welcome' block is just a block, editable in the block configuration page. And everything works fine (the sidebar is the default sidebar).
~silverwing
_____________________________________________
Land of Midnight | MisguidedThoughts | showcaseCMS
> Is it possible to
> Is it possible to encounter any problem/error by doing so?
Personally I'd count blank content as an unwanted error.
However, you could argue that if a user wanted to arbitrarily add '/node'
to the end of your url, then they get what they deserve!
:)
This works too
I didn't want to change my home page and it ~node/1/edit took me to another page I had created so I downloaded & enabled the unwelcome module, simple solution :)
http://drupal.org/project/unwelcome
There was an update on the
There was an update on the Unwelcome module, which now enables promoted content to show up on the home page when available. Now it works even better!
2 things to do
For Drupal 7
1. create a page--front.tpl.php and put into your theme's template directory
2. copy and paste everything from page.tpl.php then delete these lines:
if ($title):print $title;endif;After that you should be set
easiest solution
just create any page and publish to the frontpage.
Then css write the following:
#node-1 {
display: none;
}
where node-1 is the id of your page.
Regards,
Sumaiya Javed
Web Developer
www.sumaiyajaved.com
www.phpjavascript.com