Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-05-26 14:53:16

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

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__

Hablablow + Webdesignofficina

Offline

#17 2005-05-26 22:50:11

marz
Archived Plugin Author
From: Barbados
Registered: 2004-11-13
Posts: 43
Website

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

#18 2005-05-27 09:04:25

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

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__

Hablablow + Webdesignofficina

Offline

#19 2005-05-27 09:20:42

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

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__

Hablablow + Webdesignofficina

Offline

#20 2005-05-27 17:47:03

marz
Archived Plugin Author
From: Barbados
Registered: 2004-11-13
Posts: 43
Website

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

#21 2005-05-29 15:04:25

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

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__

Hablablow + Webdesignofficina

Offline

#22 2005-05-29 20:36:31

marz
Archived Plugin Author
From: Barbados
Registered: 2004-11-13
Posts: 43
Website

Re: tcm_lastupdate in Rc3

try removing the square brackets, the square brackets are used to show that the attribute is optional

Offline

#23 2005-05-30 12:51:37

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

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__

Hablablow + Webdesignofficina

Offline

Board footer

Powered by FluxBB