[pmwiki-users] rowspan in simple tables

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 5 17:03:56 CDT 2005


On Tue, Apr 05, 2005 at 05:54:38PM -0400, Radu wrote:
> I need the simple tables to do a bit more: rowspan. So I wrote this tiny 
> hack for the table handling function in pmwiki.php
> 
>     if (preg_match('/^r(\\d+)/',$td[$i],$match))
>         {$attr .= " rowspan='".$match[1]."'"; 
> $td[$i]=substr($td[$i],1+strlen($match[1]));}
> 
>  and now I'm wondering where to put it.
> 
> Do I really have to copy the entire FormatTableRow function into 
> local/config or a cookbook recipe, or is there a way around that?

Sorry, I'm afraid there's not a way around it at present.  
But at least you have *that* option.  :-)

Pm



More information about the pmwiki-users mailing list