Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-05-26 14:47:33

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

Re: tcm_lastupdate in Rc3

>> I just noticed you were from Paris..you should be at the Roland Garros!!

Lol, not for me, too busy here, too crowded, too expensive…If i spend some money i’ll better go and see Herbie Hancock at the Moulin Rouge on the 21 of May… But out of topic right here….

You are absolutely right, it is perfectly working !!!
Btw is there a way to override the default date with some format” y d a…” or something…

Marz you are really cool…You should pack this in a plugin….

Last edited by hablablow (2005-05-26 14:49:32)


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#14 2005-05-26 14:49:50

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

Re: tcm_lastupdate in Rc3

well, i’ve gotta go, i’m going to do some googling on php dates and formatting and see if i can’t turn this into a plugin ;)

Offline

#15 2005-05-26 14:51:05

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

Re: tcm_lastupdate in Rc3


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#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