[pmwiki-users] Links to nothing changes cause side effect

Hans design at softflow.co.uk
Mon Feb 20 20:28:06 CST 2006


Monday, February 20, 2006, 11:57:21 PM, Chris wrote:
> The downside is that with PmCalendar, it can not longer exploit the
> difference in class for a link that has content versus one that
> doesn't.  So now, EVERY calendar day shows that it has content, even
> though they clearly don't.

If you can change the code so that the link to the day page does not
have any parameters it will open the new page in edit mode. Only the
presence of arguments stops this.

So perhaps just write for the day links:
  $out.=sprintf("[[{\$Group}.%04d%02d%02d|%s]]",$year,$month,$iday,$iday);

or are the parameters necessary for the calender table day links?


Best, 
~Hans                           





More information about the pmwiki-users mailing list