[pmwiki-users] Problem with PTV in Pagelists

Eemeli Aro eemeli at gmail.com
Fri May 28 06:56:10 CDT 2010


On 28 May 2010 14:37, Ian Barton <lists at manor-farm.org> wrote:
> The pagelist displays the next five events in the Calendar group. The
> problem is with $JournalDateTitle. This splits the filename from
> Calendar.201005028 into a more human readable format. It displays correctly
> when I use it on a page in the calendar group, but not displayed in a side
> bar on the front page. This worked OK with the previous version of PmWiki
> that I had installed.

Where's $JournalDateTitle coming from? Is it some custom code that's
generating it, as it doesn't appear on the page sources?

I'd recommend instead using the standard MarkupExpression ftime:

{(ftime fmt="%A, %B %d, %Y" when='{=$Name}')}

instead of {=$JournalDateTitle}.

eemeli



More information about the pmwiki-users mailing list