Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
tcm_lastupdate in Rc3
Hi users,
tcm_lastupdate doesn’ seem to work in Rc3
Last update: %+0200e. %920 %2005, %23:%May
is the best i can get from it. The only date format working here for me is hours/days ago.
Am i missing something obvious ? Any information about this is welcomed.
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
you could try using ob1_modified
Offline
Re: tcm_lastupdate in Rc3
The new 0.5 release of ob1-modified works with RC3.
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: tcm_lastupdate in Rc3
Thanks guys for your answer, but i would like a plugin that returns the date of the last site modification, whatever article you make changes into, not only for one article, but for the whole site.
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
well, you could try using the recent articles tag, set it to list one article only, and use a form that only has <txp:posted />
… but thats just an idea, maybe theres another plugin out there somewhere
Last edited by marz (2005-05-23 16:06:53)
Offline
Re: tcm_lastupdate in Rc3
recent articles tag: such as ?
Your idea may do the trick if you could be a bit more precise on this point.
Last edited by hablablow (2005-05-23 16:16:10)
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
I was thinking something like this
<pre>
<h3>Last Site Update:</h3>
<txp:article_custom limit=“1” sortby=“Posted” sortdir=“desc” form=“post_date” />
</pre>
where the post_date
form would only be
<pre>
<txp:posted />
</pre>
..I figure this should work, I haven’t actually tried it
Last edited by marz (2005-05-24 22:22:42)
Offline
Re: tcm_lastupdate in Rc3
I was snooping through the TXP global variables in an attempt to make a plugin and I found variable that outputs the last modified date of the site..so to output it , you simply put:
<pre>
<?php echo $GLOBALS[‘prefs’][‘lastmod’]; ?>
</pre>
wherever you wanted to show it ;) . Hope this helps!
Offline
Re: tcm_lastupdate in Rc3
Hey hey that’s really cool !
Excellent… I put it where i want ? In a form, in a page… just copy and paste right ?
If this is correct it is good to be known…spread it over the forums, there might be a few other people interested…
Thanks a lot Marz for your answer…I’ll give it a try and i’ll let you know…
Last edited by hablablow (2005-05-26 14:35:48)
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
yep, anywhere you want ;)
I just noticed you were from Paris..you should be at the Roland Garros!!
Last edited by marz (2005-05-26 14:35:59)
Offline
Re: tcm_lastupdate in Rc3
If this is correct it is good to be known…spread it over the forums, there might be a few other people interested…
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
Hold on i’ll give a try…
Brb…
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline