1 tymlls05 Aug 09, 2005 19:20
3 tymlls05 Aug 09, 2005 22:45
$MainList->date_if_changed( '' , '' , 'F-j-y' ); // display post date if it changed
i tried just replace date_if_changed with issu_date....
how do i need to fix it? it didnt work.
4 personman Aug 09, 2005 22:49
Oh, sorry. I forgot it had the $Mainlist thing. Delete that whole line.
replace
$MainList->date_if_changed( '' , '' , 'F-j-y' ); // display post date if it changed
with
$Item->issue_date()
5 tymlls05 Aug 10, 2005 01:03
Parse error: parse error, unexpected T_VARIABLE in /home2/kod2000/public_html/davinciblog/blogsystem/blogs/skins/august04/_main.php on line 289
I think this is causing the problem uhm... since it IS requesting MAINLIST
if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post
if( isset($MainList) ) while( $Item = $MainList->get_item() ) { ?>
Thanks, tyler
6 personman Aug 10, 2005 01:10
Paste some more of the code. Maybe lines 280 - 310.
Open up /skins/yourskin/_main.php and find a line that says date_if_changed(); and delete it or comment it out. Then put this code wherever you want it to be displayed: