[pmwiki-users] PmCal next and previous links go to the wrong place

Tegan Dowling tmdowling at gmail.com
Fri May 26 15:15:52 CDT 2006

On 5/26/06, Chris Cox <ccox at airmail.net> wrote:
> Tegan Dowling wrote:
> > I have a wiki where I'm trying to give each user his/her own
> > wikigroup.  So each wikigroup needs to perform multiple purposes
> >
> >if I click the "next" arrow to the
> > right of the Month name, I get sent to the group's
> > /HomePage?month=6&day=1&year=2006 - which doesn't give me a calendar
> > view, since the calendar isn't installed on the HomePage.
> >
> > __SO the question is__
> > How can I change the code for the arrows to send to
> > {$Name}?month=6&day=1&year=2006 instead of
> > HomePage?month=6&day=1&year=2006?
> >
> As it was designed, the Calendar will show up as part of the
> GroupFooter (for example) on any page contained within
> the Calendar group (or whatever group it's setup in).
> This may not be the answer you were looking for... but it's
> the answer I have right now...
> :)

Chris:  Thanks - I did see the intended installation - in the
groupheader or footer - but I also saw that it would work when placed
on a "normal" page.  It does - you've made it so flexible that AFAICS,
it just takes replacing $group with $name in four (adding the "Today"
link to the previously mentioned three) places to make it behave
beautifully!  So there's this additional option available to someone
who wants to use it in a wikigroup that performs other functions
besides calendaring.

If this switch from $group to $name isn't something I can set in my
config.php, then I'll just put a note along with my include statement
there, reminding myself to make the same changes again after each
PmCal upgrade. Not a big deal.  Thanks so much!


More information about the pmwiki-users mailing list