By jprieto on
is it possible to have the front page published articles in the order of oldest to newest (top to bottom)?
Got a headache trying to figure out how
please help
is it possible to have the front page published articles in the order of oldest to newest (top to bottom)?
Got a headache trying to figure out how
please help
Comments
The default frontpage script
The default frontpage script (ie /node) won't do it.
You'll need to build your own view using the 'Views' module.
But I've no idea if Views has a filter for 'published to frontpage' or not - you might have to find a workaround.
Views has it
I can confirm that Views has a filter for 'published to frontpage' called 'Node: Front Page', so it would be no problem to get what he needs.
Views comes with a built-in
Views comes with a built-in premade view called frontpage. Click the "enable" link next to it, then click "Edit" next to it when the page refreshes. It is already set by default to list from oldest first. If you choose to change the setting though, look at the box that says "Search Criteria", and click the link in it that says " Node: Post date asc". Change "Sort order" to Descending. Save the View.
Now follow these instructions to set the path yoursite.com/frontpage to Drupal's front page instead of yoursite.com/node
http://www.davidnewkerk.com/book/3
-- David
absolutecross.com
[new guide/lesson in progress: Creating a CCK and Views powered Drupal site - feedback welcome]