PEAK XOOPS - sorting in englishin japanese

sorting

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum

question sorting

msg# 1
Previous post - Next post | Parent - Children.1 | Posted on 2006/2/23 8:46
rob_949  ÆóÅùʼ   Posts: 1
Instead of using the piCal upcoming events block,
i'm trying to create a rss block in xhld to display the coming week's events.

the problem is that xhld displays the latest news on top, and it ended up showing the events that are months down the road.

any suggestions?

does it have anything to do with xhld0/blocks/headline.php ??

// order by pubdate desc
usort( $items , create_function( '$a,$b' , 'return $a["sort_weight"] < $b["sort_weight"] ? 1 : -1 ;' ) ) ;


thanks,
-rob
Votes:1 Average:0.00

question Re: sorting

msg# 1.1
Previous post - Next post | Parent - No child | Posted on 2006/2/24 3:19
GIJOE  ÀèǤ·³Áâ   Posts: 4110
It is easy to change it after the point is found.

'<' to '>'

Though I don't know it is the real point or not
Votes:1 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!