Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-08-03 21:17:34

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,454
Website GitHub

Re: txp tags in php

hakjoon wrote:

Of course the best thing would be to use the awesomeness that is ied_plugin_composer and just make countdown a standard tag.

Funny you should mention that. The current project I’m working on demands a countdown tool that other plugins cannot currently itch. Watch the Plugin Author Forum space in the coming month… :-)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#14 2009-08-03 22:04:55

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp tags in php

Would fha_time_diff do what you want?

<txp:fha_time_diff year='<txp:expires format="%Y" />' month='<txp:expires format="%m" />' day='<txp:expires format="%d" />' />

Offline

#15 2009-08-03 22:28:20

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: txp tags in php

Looks like that code has a No Derivative Works license.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB