Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
Mikro showing only Date
« previous
next »
Print
Pages: [
1
]
Author
Topic: Mikro showing only Date (Read 4063 times)
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Mikro showing only Date
«
on:
February 12, 2015, 20:06:44 »
Hi,
What changes should be done, in order Mikro component to show only the
Date
that an article was posted, instead of
Date and Hour
?
Thanks in advance
Logged
Rent a Site
|
Lelevose
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Mikro showing only Date
«
Reply #1 on:
February 12, 2015, 20:16:50 »
Open file:
components/com_mikro/views/public.html.php
Go to line:
178
Change the date format from
DATE_FORMAT_4
to
DATE_FORMAT_2
:
$date_str = $eDate->formatDate($row->created, $eLang->get('DATE_FORMAT_2'));
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Mikro showing only Date
«
Reply #2 on:
February 12, 2015, 21:28:22 »
Thank you Yianni,
It still shows the hour for TODAY's or YESTERDAY's posts. Maybe it needs some changes above (on lines 174 & 176), but what exactly?
- - - - -
Note for anyone interested:
Same change should be done for the "
Latestarticles Module
"
/modules/mod_latestarticles/mod_latestarticles.php
On line:
212
Change the date format from
DATE_FORMAT_4
to
DATE_FORMAT_2
Logged
Rent a Site
|
Lelevose
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
Mikro showing only Date