[pmwiki-users] Another PmCal question

f.r.salomons salomons at wanadoo.nl
Sun Apr 22 03:04:43 CDT 2007


f.r.salomons schreef:
> Chris Cox schreef:
>> f.r.salomons wrote:
>>> On my startingpage for PmCal (PmCal.Homepage) I tried to use (:title 
>>> Agenda:), but this doesn't have any effect. Not a big problem of course, 
>>> but I was wondering if someone knows how to solve this.
>> Last one out wins.  If your dated pages contain (:title ...:)
>> then place a (:title ...:) AFTER the (:pmcal:) markup on your
>> HomePage and see if that works.
> 
> Ok I got it. And because the (:pmcal:) markup is in PmCal.GroupFooter, I 
> have put it there, after (:pmcal:), as the following conditional markup:
> 
> (:if name HomePage:) (:title PmCalendar:)(:ifend:)
> 
> Thanks again Chris. I love your recipe!
> 
> Frits

Just for reference sake:
The (:title:)directive for the HomePage doesn't necessarily have to be 
put after the (:pmcal:)directive  in the GroupFooter, as long as it is 
placed after the title-directive for the dated pages. So the following 
also works for me:

(:title {$PmCalDName:PmCalendar %d-%m-%y}:)
(:if name HomePage:) (:title PmCalendar:)(:ifend:)
(:pmcal styles=PmCal-Mini monthsahead=1 locale=nl_NL:)

Frits




More information about the pmwiki-users mailing list