By Holy Sarcasm on
I'm using Drupal 5.2 with the Workflow module. How do I get the nodes (content?) to be listed on the main page in order of "publish" date/time versus "creation." I had 10 articles in "draft," then I "published" them in order that I wanted them to be listed. However, they all came out in order of "creation." How do I change this variable?
Thanks
Cliff
Comments
views frontpage view
You can use the views module to change how the front page sorts content, but I don't know for certain if how you are using the workflow module will interfere (you'll just have to try it). Install the views module if you don't have it already and edit the default front page view at Administer >> Site Building >> Views. You'll want to read up on how to use views to do what you want (hint: updated time rather than created). Documentation is under the module's help section and on the Drupal project page.
Thank You
I finally worked it out on Views using two sort filters. Filtering first by "creation" then by "update." (though I think this might screw thinks up if I go back to a previous post and edit it. . .wouldn't it then jump back to front page?)
Also . . .the sort filters still didn't work because the theme I was using didn't have the "time" inserted into the node. That took me another couple of hours to figure out. I did find the answer at this node http://drupal.org/node/71106.
That is a handy little page to help out editing the node.tpl.php page
Thanks again.
Cliff