hi
in search page, the news list is with title (or titlelink ?) order, but I want to list them with date (recent first) (as the default order in news loop on news page).
I have a look on next_news() paramaters, but there is no choice to do that.
In deprecated functions, I have the info that we have to set news order type and news order direction.
so I write this code in my search page:
`<?php if ($_zenpage_and_news_enabled && ($numnews > 0)) {
$_zp_current_search->setSortType('date', 'news');
$_zp_current_search->setSortDirection(1, 'news');
?>
[b]<?php printf(gettext('Articles (%s)'), $numnews); ?>[/b]
<?php while (next_news()) { ?>
<?php printNewsURL(); ?>
<div class="post-content clearfix">
<?php echo shortenContent(getBare(getNewsContent()), 200, getOption("zenpage_textshorten_indicator")); ?>
</div>
<?php
}
} ?>`
but it has no effet on news order.
what is wrong ?