1 mek113 Aug 04, 2009 18:22
3 mek113 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 yabba 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 mek113 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 john Aug 04, 2009 23:13
'date_format' => '#',
to
'date_format' => 'F',
7 mek113 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 john Aug 05, 2009 04:00
Try
date_format' => 'F d y'
9 mek113 Aug 05, 2009 04:20
Getting closer. The y is just generating 09...can I get 2009?
10 mek113 Aug 05, 2009 04:32
I found the code - it's a capital Y for 2009. Thanks for assistance.
mek113 wrote:
Urm, 2.x+ _index||post||page||single.main.php
¥