Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: tcm_lastupdate in Rc3
Hopefully this piece of code will remain untouched for a while / in the next txp releases, or things will break in a bad way…
Last edited by hablablow (2005-05-26 14:53:44)
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
I released it as a plugin with date formatting ;) ..grab it here And to think I just started learning PHP yesterday :p lol
Last edited by marz (2005-05-26 22:51:25)
Offline
Re: tcm_lastupdate in Rc3
>> I just started learning PHP yesterday :p lol
Very promising…
Thanks a lot Marz…
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
Doesn’t work here ….
Tryed many combos…but anything fails…Are you sure of the syntax:
txp:marz_lastsite mod [wraptag=“tag”] [format=“d M y”] ?
Last edited by hablablow (2005-05-27 09:21:20)
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
yeah, oh, it should be @<txp:mrz_lastsitemod [wraptag=
Last edited by marz (2005-05-27 17:52:09)
Offline
Re: tcm_lastupdate in Rc3
Marz,
it is working butg i cannot override default date. I’m trying:
txp:mrz_lastsitemod [format=“D. j F Y. H:i”]
…
Am i wrong with something ?
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: tcm_lastupdate in Rc3
try removing the square brackets, the square brackets are used to show that the attribute is optional
Offline
Re: tcm_lastupdate in Rc3
It is ok now, perfectly working.
A big thank for your help…
You should add your plugin to textpattern.org.
Nice shot for your first plugin.
I owe you one for this….
Good luck.
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline