Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-26 17:55:42

Sandwich
Member
Registered: 2005-02-14
Posts: 37

Display the last modified date of an article in a form?

I need to get at the last modified date of an article (the line displayed below the summary field when editing the article) and be able to output it in a form. How can I do this? This is just a one-time thing, so I don’t really care how inefficient or ugly the solution is… ;) Thanks. :)

Offline

#2 2008-08-26 17:58:39

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Display the last modified date of an article in a form?

TXP 4.0.7 will have a <txp:modified /> tag that can do exactly what you want.
If you don’t mind using a development copy of TXP, you can already use it.

Offline

#3 2008-08-26 18:05:05

Sandwich
Member
Registered: 2005-02-14
Posts: 37

Re: Display the last modified date of an article in a form?

Erk. Nah, I need this for a live site running 4.0.5, and I can’t really upgrade it… any other ideas?

Offline

#4 2008-08-26 18:30:28

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Display the last modified date of an article in a form?

plugin: ob1_modified

Offline

#5 2008-08-26 18:35:03

Sandwich
Member
Registered: 2005-02-14
Posts: 37

Re: Display the last modified date of an article in a form?

Perfect! Thanks muchly!

Offline

Board footer

Powered by FluxBB