Welcome, Guest
Please Login or Register.    Lost Password?

Show date mm/dd/yy
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Show date mm/dd/yy
#99
Show date mm/dd/yy 7 Months, 2 Weeks ago Karma: 0
Hi,

Is is possible to show the date on your Universal RD autos module with the form mm/dd/yy?

I just built a website and the owner requires that.

Thanks,

Gabe
redmanuy
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#101
Re:Show date mm/dd/yy 7 Months, 2 Weeks ago Karma: 2
Hey,

it's not supported, but you are able to change a line in the source code to use this format.
Open the files default.php and across.php in the RDAutos Universal Module Folder (*root*/modules/rdautos-universal) and change the following lines:

in across.php line 10 and in default.php line 7 from:
Code:

$date = JHTML::_('date',  $row->updated, JText::_('DATE_FORMAT_LC4') );

to
Code:

$date = JHTML::_('date',  $row->updated, "%D" );


hope this works
regards, marco
Marco
Senior Boarder
Posts: 59
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#102
Re:Show date mm/dd/yy 7 Months, 2 Weeks ago Karma: 0
Hey Marco,

Thanks so much, worked perfectly!

Regards,

Gabe
redmanuy
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1