Thanks for all that responded :-)
Le 05/12/2016 à 01:01, StefCT a écrit :
Hi,
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
(:ifend:)
This requires a list of future dates (maybe generated elsewhere?), but
it can be done using very basic PmWiki markup.
I like a lot this solution, as I can edit slightly my previous script to
give the right result and this allows eventually to edit the list manually
thanks all!
jdd
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users