Article nodes by date

miles28 - May 6, 2007 - 09:43

Hi.
What would it be the best way to show article nodes sorted by date? Days, weeks, months... Is there any module, views module?

Thanks in advance.

the best way to show article nodes sorted by date? Days, weeks,

DonKomo - May 6, 2007 - 14:41

Maybe the best way to show article nodes sorted by date? Days, weeks, months
u can install :
The pathauto module automatically generates path aliases for various kinds of content (nodes, categories, users) without requiring the user to manually specify the path alias. This allows you to get aliases like /category/my-node-title.html instead of /node/123. The aliases are based upon a "pattern" system which the administrator can control.

Pathauto
http://drupal.org/project/pathauto
download
http://ftp.osuosl.org/pub/drupal/files/projects/pathauto-5.x-1.1.tar.gz
Discussion group:
http://groups.drupal.org/paths

after that u can make customising your url
(example : www.yourdomain.com/[year]/[months]/[date]/[title]/

this can make ur drupal aslike wordpress/blogger url :)
I hope this can help u

The National Liberation Party of Unity
----------
PAPERNAS

More info

NancyDru - May 6, 2007 - 17:04

Perhaps you can more clearly define your request.

Certainly you could issue your own selection query and ORDER it on anything you want, such as creation date.

If they are being selected by taxonomy terms, if memory serves me correctly, "taxonomy_select_nodes" includes a parameter to change the default ORDER.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

What I need I think is

miles28 - May 7, 2007 - 15:25

What I need I think is simplier. I need a way to let a user to list articles (only articles, not any other kind of nodes) published in a custom period of time. That user will be able to list the articles in the las one, two... week, or in april, may, etc.

Ok

NancyDru - May 8, 2007 - 02:26

That doesn't sound like a complicated page to handle with a little php code.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

Views - should do it

Quint - May 8, 2007 - 02:42

I think you can do that with the Views module.

one node type, sorted by date

pretty sure.

Quint

 
 

Drupal is a registered trademark of Dries Buytaert.