[pmwiki-users] Multiple WikiCalendar

John Rankin john.rankin at affinity.co.nz
Thu Sep 8 19:19:34 CDT 2005


On Friday, 9 September 2005 11:45 AM, Rene Visco <rvisco at csdr-cde.ca.gov> wrote:
>Hi,
>
>Thanks for quick responses.  In my previous email, I forgot to mention 
>that I want the "data" coming from dates to be seperate from each other 
>in multiple calendars.
>
>For instance, I created two calendars (with (:wikilog:)

OK -- we are talking about WikiCalendar, not PmCal :)
>
>[[Calendar.Curriculum | Curriculum Calendar]]
>[[Calendar.test]]
>
>Both calendars share the same data and data entries.
>
>I prefer each calendars to have their own dates (different data from 
>each other).  Am I overlooking a simple formatting for creating a group 
>of pages?
>
>Okay. For Curriculum Calendar, when I clicked on a date, it
>will go to
>
>Calendar.20050914
>
>whereas it should be Calendar.Curriculum.20050914
>
>Am I correct ? Am I overlooking a simple formatting for creating a 
>group of pages under one group header?

What you need to do is:

1. set up pages called

[[Curriculum.HomePage | Curriculum Calendar]]

[[Curriculum.GroupHeader]] containing (:wikilog:)

This will create date pages called Curriculum.20050909 (for example)

These pages form the "Curriculum" group.

2. set up another group of pages called

[[Test.HomePage | Test Calendar]]

[[Test.GroupHeader]] containing (:wikilog:)

This will create date pages called Test.20050909

These pages form the "Test" group.

And that should be it.

In PmWiki, a group comes into existence by adding a page to it.
Strictly, a group is similar to a namespace -- a way to qualify
a name so that it is distinguished from another.

All the pages starting with 'Test.' are in the Test group; all
the pages starting with "Curriculum." are in the Curriculum group.

PmWIki doesn't support pages of the form Text1.Text2.Text3 -- however,
it would be possible to extend the WikiCalendar so that pages of the
form Group.Prefix,yyyymmdd were recognised. This is a form of 
"subpage markup" and to date there has never been a good enough
reason to add this extra level of complexity. It could be done,
but try it with each calendar in a separate group first.
>


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list