Hi, I'm working for a site where in the front page there will be only the last "news" that user have inserted. I have set 1 for "Number of posts on main page:" in the node-settings page (admin/content/node-settings) Now in front page I have last node inserted but with "read more" link and the "paginator". See file attached.
How can I remove them ?
Tnx.
There are two easy ways to handle this without coding.
1. Make sure that the pagebreak is at the end of the end all the content for the news. 2. Use views to create a custom front page and you can hide the read more link. Here are some good instructions for that - http://www.apaddedcell.com/creating-a-custom-home-page-in-drupal-using-views
Hope this helps.
-Steve
Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter
-----Original Message----- From: Michel Morelli [mailto:michel@ziobuddalabs.it] Sent: Tuesday, October 20, 2009 8:37 AM To: support@drupal.org Subject: [support] how to remove "readmore" and pagination from frontpage
Hi, I'm working for a site where in the front page there will be only the last "news" that user have inserted. I have set 1 for "Number of posts on main page:" in the node-settings page (admin/content/node-settings) Now in front page I have last node inserted but with "read more" link and the "paginator". See file attached.
How can I remove them ?
Tnx.
Steve Kessler ha scritto:
There are two easy ways to handle this without coding.
- Make sure that the pagebreak is at the end of the end all the content for
the news.
Nope, I should not have a long front page.
- Use views to create a custom front page and you can hide the read more
link. Here are some good instructions for that - http://www.apaddedcell.com/creating-a-custom-home-page-in-drupal-using-views
Correct... "views" is my friend..But in this way I can not to use page-front.tpl.php. Or can I ?
There is a 3th way: use css to hide them.
For velocity css is the best choice, but obviously if I change theme or rewrite style.css I lost all. Views is the best choice, but I need to cache it (it is possible) because I can not permit to rebuild all for every frontpage visit.
However, other possibility ?
Hope this helps.
Thanks.
M.
On Tue, 20 Oct 2009 16:37:18 +0200 Michel Morelli michel@ziobuddalabs.it wrote:
Hi, I'm working for a site where in the front page there will be only the last "news" that user have inserted. I have set 1 for "Number of posts on main page:" in the node-settings page (admin/content/node-settings) Now in front page I have last node inserted but with "read more" link and the "paginator". See file attached.
How can I remove them ?
Not that I like this solution too much but the first thing that came to my mind was using a view.
Ivan Sergio Borgonovo ha scritto:
How can I remove them ?
Not that I like this solution too much but the first thing that came to my mind was using a view.
View, theme, module. But not from the core. Thanks all.
M.