way to show edit date?
Forma 17
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: way to show edit date?
Forma
OP
17
From: -
From: -
would be good to have a created field and edit field, just to add that flexability on this issue.
The summary page is not really the core of the article, so it might work to have it that this one uses article_date (and doesn't update), and a new field (article_edited) could be used if any page is edited, including the summary, but i think an option to not include the summary would also be good in articles / preferences.
The summary page is not really the core of the article, so it might work to have it that this one uses article_date (and doesn't update), and a new field (article_edited) could be used if any page is edited, including the summary, but i think an option to not include the summary would also be good in articles / preferences.
1 Re: way to show edit date?
Philipp Esselbach
From: -
Editor
0From: -
No, only if you edit the summary but I will change it in the next version.
1 Re: way to show edit date?
Forma
OP
17
From: -
From: -
ah, what i wanted to do was have a creation date and an edit date.
If i edit a page, does this also update $insert['article_date'] or does this only update when i edit the summary?
If i edit a page, does this also update $insert['article_date'] or does this only update when i edit the summary?
1 Re: way to show edit date?
Philipp Esselbach
From: -
Editor
0From: -
for articles, is there a way to show the last edited date for an article or is this impossible? I'd like to display a "last edited" field as content may be updated frequently for these articles and it would be nice for this to be handled autoatically for me.
Editing the summary text will update $insert['article_date'] with the latest date
edit - also, how to change the date format? i tried:
($insert['article_date']) = date("F d Y, g:ia",strtotime($insert['article_date']));
but it didn't work and i stopped there as i don't really know where to go from there.
This was pretty close. This should work:
$insert['article_date'] = date("F d Y, g:ia",strtotime($insert['article_date']));
for articles, is there a way to show the last edited date for an article or is this impossible? I'd like to display a "last edited" field as content may be updated frequently for these articles and it would be nice for this to be handled autoatically for me.
ps, i did look at a few of the db tables to look for something to use but could not find it.
edit - also, how to change the date format? i tried:
($insert['article_date']) = date("F d Y, g:ia",strtotime($insert['article_date']));
but it didn't work and i stopped there as i don't really know where to go from there.