patch to add a timestamp before the title of each feed
ec - June 13, 2005 - 12:25
| Project: | News Page |
| Version: | HEAD |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Hello Robert, I feel that the items on the page lack timestamp, here is a patch to add this feature. eric
| Attachment | Size |
|---|---|
| np_timestamp.patch | 834 bytes |

#1
I assume that this patch won't work for version 4.7?
#2
Hello,
Obviously not, but you can do it by hand :
- look for
function theme_news_page_item- replace
$output .= '<h3 class="feed-item-title">' . $item->title . '</h3>';by
$output .= '<h3 class="feed-item-title">' . format_date($item->timestamp, 'custom', 'Y/m/d') . ' - ' . $item->title . '</h3>';- et voilà !
Regards,
Eric