[pmwiki-users] PmCalendar 0.11, almost ready for a 1.0.

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 15 13:17:50 CDT 2005


On Thu, Sep 15, 2005 at 08:03:46PM +0200, Pierre-Marie Carette wrote:
> in line 442     $out.=sprintf("[[%s.%s|%s]]\n",$cal,$cal,$cal);
> can you change to :                     $out.=sprintf("[[%s.%s|%s]] 
> \n",$DefaultName,$cal,$cal);
> to follow the config convention ?

I haven't looked at the code yet, but why not simply do...?

   $out .= "[[$cal]]\n";

This lets PmWiki link $cal to the correct place (including the
search through $DefaultName ("HomePage"), another group, or 
wherever else it might need to be as given by the site's defaults).

Pm




More information about the pmwiki-users mailing list