2011-11-17, 02:30:55
I've made some adjustments that apply to me.
In the sidebar you normally see only the title of the news item. I wanted to have the data to and align on the right.
following the addition in sidebar.php
All you have to do is adjust your css. Add "div-news-data" in your css and customize it to your needs.
Maybe you could use this info
In the sidebar you normally see only the title of the news item. I wanted to have the data to and align on the right.
following the addition in sidebar.php
Code:
function nm_list_recent_news() {
global $NMRECENTPOSTS;
$posts = nm_get_posts();
if (!empty($posts)) {
echo '<ul>';
$posts = array_slice($posts, 0, $NMRECENTPOSTS, true);
foreach ($posts as $post) {
$url = nm_get_url('post') . $post->slug;
$title = strip_tags(strip_decode($post->title));
$date = nm_get_date(i18n_r('news_manager/DATE_FORMAT'), strtotime($post->date));
echo "<li><a href=\"$url\">$title</a></li>";
?>
<div class="div-nieuws-data"><?php echo $date; ?>
</div><?php
}
echo '</ul>';
}
}
All you have to do is adjust your css. Add "div-news-data" in your css and customize it to your needs.
Maybe you could use this info