[pmwiki-users] date on main page

StefCT stefct4 at gmail.com
Sun Dec 4 18:01:05 CST 2016


On 12/03/2016 07:22 AM, jdd wrote:
> We have meeting every two weeks, always.
> I would like to keep anoucing the next meeting on the main page
> automatically ("Next meeting on Saturday XXXXX, from 14:00 to 18:00" for
> example)

A very crude solution might look like this:

(:if date ..2016-12-03:)2016-12-03
(:elseif date ..2016-12-28:)2016-12-28
(:elseif date ..2017-01-11:)2017-01-11
(:elseif date ..2017-01-25:)2017-01-25

This requires a list of future dates (maybe generated elsewhere?), but
it can be done using very basic PmWiki markup.

Kind regards,


More information about the pmwiki-users mailing list