1 erock Jun 20, 2006 11:33
3 yabba Jun 20, 2006 12:12
If you add this to the top of your index.php then your blogposts will be displayed in ascending order :-
<?php $order = 'asc'; ?>
¥
4 erock Jun 20, 2006 12:28
My index.php file now has
<?php $order = 'asc'; ?>
/**
* This is the main public interface file!
*
* This file is NOT mandatory. You can delete it if you want.
* You can also replace the contents of this file with contents similar to the contents
* of a_stub.php, a_noskin.php, multiblogs.php, etc.
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
* @copyright (c)2003-2004 by Francois PLANQUE - {@link http://fplanque.net/}
*
* @package main
* Note: we need at least one file in the main package
*/
Now the BLOG doesn't display at all.
5 yabba Jun 20, 2006 12:33
if you change the first line to :-
<?php
$order = 'asc';
it'll all start working again ;)
¥
6 erock Jun 20, 2006 12:34
Fantastic.
Works perfectly!! :D :D
7 erock Jun 20, 2006 22:04
One last thing....
How do I set the date format?
It's USA date style.....how do I set it DD/MM/YY?
Many thanks for the great help so far.
8 yabba Jun 21, 2006 11:13
You can change the date format in admin > settings > regional.
¥
9 erock Jun 22, 2006 11:44
Regional settings are already set to English(UK)
still not displaying in correct format 18th March is ....03/18/05
10 erock Jun 22, 2006 11:56
Ok sussed it...the blog had a local of US so was over-riding the regional.
Thanks
11 yabba Jun 22, 2006 12:24
No problem ;)
¥
Ok forget the date stamp Q ...dumbo has figured you have to put a tick in the box next to the date change!
Still would love to auto display earliest entry first.