This all seems too obvious and if it's already been covered, shucks. I looked all over but couldn't quite find the keywords to answers. Here's the site and my problem: http://www.politicsinminnesota.com
Basically we have a content type 'Morning Report' with daily news headlines. currently it is a View-derived block on the right sidebar, but i hate how Views insists that "Posted October 8th, 2007 by Staff" must be included.
I want to alter my page_front.tpl.php so that i have a right-floating div in the content area. Within this, first displaying the Node title of the most recent Morning Report as an H3 element, then have the whole body of the node with font-size small. Then just a more >> link to the whole Morning Report category page - that could be hardcoded.
I know how to make my style bits the way i want, but i am really not sure how to get a custom query written that will take out the dumb fields that Views always has.
For the life of me, in all the Drupal docs i can't locate how to write a Drupal 5.x custom query. I know I am missing something horribly obvious, but basically, hey, how do we get it to spit out just the two node fields (for One Node, Most Recent of Content Type X), styled nicely? Thanks.
Comments
(no title)
You can disable the "Posted by etc." line for the theme you are using, either from the /admin/build/themes/settings page for certain content types or by removing "print $submitted" from your theme's node.tpl.php