Foros de discusión

Blog update time

Alagammai Kasi, modificado hace 11 años.

Blog update time

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Dear BUddies,

I need to check when a blog is updated ... the message posted on it has been changed and I need to extract the date and time that has been done.

How could I do it?

Please advice

Thanks in advance

Alagu
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Blog update time (Respuesta)

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Each blog entry has modifiedDate field :

Blog blog = BlogsEntryLocalServiceUtil.getBlogsEntry(entryId)
blog.getModifiedDate()
Alagammai Kasi, modificado hace 11 años.

RE: Blog update time

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
Thank you Gnaniyar, got that.

Is there a way to find what is the change?

Thanks,
Alagu
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: Blog update time (Respuesta)

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
I dont think so. changes will be stored in content field but you cannot take specific changes made in that entry.

Let us know if you achieve this. emoticon
Alagammai Kasi, modificado hace 11 años.

RE: Blog update time

Regular Member Mensajes: 149 Fecha de incorporación: 1/08/12 Mensajes recientes
I got into the table and noticed only the latest updates are there

So, planning to get another space where I could use my backups to recreate the liferay with the backups

with that, i might be able to get the previous messages in the blog

thank you so much for ur input