[Pmwiki-users] Re: FreeLinks and the Calendar
John Rankin
john.rankin
Mon Mar 15 13:27:51 CST 2004
On Tuesday, 16 March 2004 4:16 AM, Dave Noonan <PmWiki at ThunderBunny.org> wrote:
...
>
> One of the best things about PmWiki is TMTOWTDI. :-)
>--
>Dave
>-----------------------
>Keep away from people who try to belittle your ambitions. Small people
>always do that, but the really great make you feel that you, too, can
>become great.
>~ Mark Twain
>
>
The latest version (uploaded last night) allows you to define a space
character for dates (default is ' ').
To take advantage of this:
1. use $Titlespaced in the page header in your .tmpl file
2. set $SpaceWikiWords = 2; in your config.php
3. set $SpaceDateString = '-'; (or whatever) in your config.php
A page called 20040229 will display as 2004-02-29,
This uses a local AsSpaced function, which also happens to de-title
selected words, so LostInTranslation will display as Lost in Translation
(and you can disable this if you prefer -- open custom-spacing.php and
comment out line 4 (else $AsSpacedFunction = ...))
Let me know how you get on.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list