Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 2:35 pm (All times are UTC )

 




Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Mon Jan 14, 2008 1:42 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 23, 2007 3:15 am
Posts: 9

replace them with:

$array=(getdate(strtotime($create_date)));
$array=(array_flip($array));
?>







This will result in having separate "box" for date in every content item and it can look something like date in head of Switch template at http://demo.yootheme.com/
or something like this: http://extensions.joomla.org/component/ ... Itemid,35/ - this is for joomla 1.5.

ps.: This is for 1.0.13 Joomla Installation.

Last edited by _X_ on Mon Jan 14, 2008 2:14 am, edited 1 time in total.

components\com_content\content.html.php

line 516: comment it out by adding // at the begining of line

line 528:
looks like: echo ampReplace( $row->text );
edit to:    echo HTML_content::CreateDate( $row, $params ), ampReplace( $row->text );

line 832 to 836 are:
Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group