I use the Anynews module to display headlines. Currently, I have it set up as this:
News Item
News Item
I would like the anynews headlines to display as this:
$Date: News Item
I modified the include.php file, but my php skills are crap and next to absolutely nothing, so this is what I did:
Added this into the file:
$post_date = gmdate(DATE_FORMAT, $post['posted_when']+TIMEZONE);
$post_time = gmdate(TIME_FORMAT, $post['posted_when']+TIMEZONE);
$publ_date = date(DATE_FORMAT,$post['published_when']);
Then, I did this:
$output .= "<p>"$publ_date"<a href=\"" .WB_URL.PAGES_DIRECTORY .$data['link'] .PAGE_EXTENSION ."\">" .$data['title'] ."</a></p>\n";
Not working, blank page. I assume it's my fault, but can someone help me how to do this?