Recent Topics

1 Aug 04, 2009 18:22    

My b2evolution Version: Not Entered

Where do I go to change the date format that appears in the heading of the Custom skin? It is currently showing 07/31/09 and I would rather it show the month July 31, 2009.

2 Aug 04, 2009 18:38

mek113 wrote:

My b2evolution Version: Not Entered

Urm, 2.x+ _index||post||page||single.main.php

¥

3 Aug 04, 2009 20:39

I'm sorry but I'm going to need more simplified details. I do not know php but with enough directions, I can find my way through. And yes, I do have version 2.4.7.

4 Aug 04, 2009 21:24

Ahh, in that case, take a look in /skins/your_skin/_index.main.php ( and the other variants if they're in there : post, single, page ) and change

	$Item->issue_time( array(
			'before'      => '<span class="month">',
			'after'       => '</span>',
			'time_format' => 'F',
		) );

Note : the code in your file will probably look a smidge different to that, it's from a skin I'm dicking with, but it'll look similar ... play with :

'time_format' => '@link [url=http://uk.php.net/manual/en/function.date.php]php.net:date()[/url]',

¥

5 Aug 04, 2009 23:07

Following is the existing code. What do I change?

<?php

// ------------------------------ DATE SEPARATOR ------------------------------

$MainList->date_if_changed( array(

'before' => '<h2>',

'after' => '</h2>',

'date_format' => '#',

) );

?>

6 Aug 04, 2009 23:13

'date_format' => '#',


to

'date_format' => 'F',

7 Aug 05, 2009 03:42

That changed the 07 to July but the day and the year are not appearing now....just the word July.

8 Aug 05, 2009 04:00

Try

date_format' => 'F d  y'

9 Aug 05, 2009 04:20

Getting closer. The y is just generating 09...can I get 2009?

10 Aug 05, 2009 04:32

I found the code - it's a capital Y for 2009. Thanks for assistance.


Form is loading...