[ Resolved] Last Modified date is today on front end

More
11 years 3 months ago - 11 years 3 months ago #32598 by akd01
Hi,

The date written in "Last Modified" in front end in Item view (default) is the date of the current day on my site. The problem occurs both on an unedited article or one already modified.

Is anybody else has this issue?

I'm using Flexicontent RC9a (r1549) on Joomla 2.5.8 but
I saw anywhere what can cause this issue.
Last edit: 11 years 3 months ago by akd01.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #32602 by brandonking
Hi,

I am using r1601 on J 2.5.8 but no problem with last modified date.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #32651 by akd01
I finally found a way to handle this (and I'm not sure the problem come from Flexi), I replaced this line
(file : components/com_flexicontent/classes/flexicontent.fields.php line 179)
Code:
$item->modified = ($item->modified != $db->getNulldate()) ? $item->modified : $item->created;

with this.
Code:
$item->modified = ($item->modified != null) ? $item->modified : $item->created;

I still don't know why it works because it shouldn't but well... :?

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #32669 by micker
becarefull ! this modification will be kill by any update

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.290 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline