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
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Component Content Elxis 4.3: Articles Modified date not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Component Content Elxis 4.3: Articles Modified date not working (Read 5508 times)
perseas
Jr. Member
Posts: 97
Component Content Elxis 4.3: Articles Modified date not working
«
on:
May 14, 2015, 09:55:48 »
Articles Modified date not working and tooks the same date as created date.
Any solutions ??
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Component Content Elxis 4.3: Articles Modified date not working
«
Reply #1 on:
May 14, 2015, 21:12:54 »
When you
create
anything the last modification date of that thing is the same date as the creation date.
When you
modify
anything the creation date should stay intact and the modification date should be updated to the current date-time.
If it works like that then it works fine.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
perseas
Jr. Member
Posts: 97
Re: Component Content Elxis 4.3: Articles Modified date not working
«
Reply #2 on:
May 15, 2015, 00:56:03 »
No, the modification date does not updated to the current date-time. Change to the same with the created date.
The date of amending Article is not modified to the current date as it should but takes the date of creation by saying eg "Last Update 03 August 2014 21:59" when in fact amended today and created on 08/03/2014. This happened after upgrade from version 4.2 to 4.3.
Η ημερομηνία τροποποίησης του άρθρου δεν τροποποιείται στην τρέχουσα ημερομηνία όπως θα έπρεπε αλλά λαμβάνει την ημερομηνία δημιουργίας λέγοντας π.χ. "Τελευταία ενημέρωση 03 Αυγ 2014 21:59" ενώ στην πραγματικότητα τροποποιήθηκε σήμερα και δημιουργήθηκε στις 3-8-2014. Αυτό συνέβη μετά από αναβάθμιση της έκδοσης απο την 4.2 στην 4.3.
«
Last Edit: May 15, 2015, 01:13:22 by perseas
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Component Content Elxis 4.3: Articles Modified date not working
«
Reply #3 on:
May 16, 2015, 07:25:57 »
You are right, something is wrong. Here is how to fix it.
Open this file:
includes/libraries/elxis/database/tables/content.db.php
Go to line
131
:
$mdt = ($nowts > strtotime($this->created)) ? $this->created : $now;
Change it to:
$mdt = ($nowts > strtotime($this->created)) ? $now : $this->created;
This will fix the problem. I updated Elxis 4.3 with this fix.
Thanks for the report!
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
perseas
Jr. Member
Posts: 97
SOLVED: Component Content Elxis 4.3: Articles Modified date not working
«
Reply #4 on:
May 16, 2015, 07:51:24 »
The problem solved. Thanks "datahell"
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Component Content Elxis 4.3: Articles Modified date not working