[pmwiki-users] PmCal Buttons

Chris Cox ccox at airmail.net
Mon Sep 12 17:33:41 CDT 2005


Rene Visco wrote:
> I noticed it in PMwiki.org on PmCal page.
> 
> (:pmcal cals=Holidays,Cjc test=css styles=PmCal,PmCal-Red :)
> 
> 
> I can create multiple pmcalsand create buttons to go directly to a
> specific cal.  How do I link the buttons to a cal?

Right now PmCal creates the buttons and links for your included calendars... you
can ignore the test=css and styles stuff for now... it's in testing
(as the name suggests!).

PmCal assumes that the default page for the calendars is
of the form Holidays/Holidays where the group and default
page match.  The next version will allow for whatever default
page (e.g. Holidays/HomePage), just like PmWiki does anytime
you create a new group and don't supply a page name.

The buttons do get their own class ids.  So you get for
the Holidays calendar... a class id of:

pmcalincludeHolidayslink

for example.  All of the included calendar buttons are
also a part of the class pmcalincludelink... in case
you just want to apply a style across them all.

(you'd do this via your CSS file for the group or
system)





More information about the pmwiki-users mailing list