Not logged in. · Lost password · Register
Forum: Support Bug reports and troubleshooting RSS
ABBC table tag: colspan and rowspan problem
kalinrow #1
Member since May 2009 · 4 posts · Location: Fell
Group memberships: Members
Show profile · Link to this post
Subject: ABBC table tag: colspan and rowspan problem
When you use the ABBC [table] it is not possible to use the second parameter for rowspan.

Here is the original souce code:
  1. 'col' => array(
  2. 'htmlopen0'  => '<td style="padding-right:8px;">',
  3. 'htmlcont0'  => '$1',
  4. 'htmlclose0' => '</td>',
  5. 'textcont0'  => '$1  ',
  6. 'htmlopen1'  => "~'<td colspan=\"'.abbcq('$1').'\" style=\"padding-right:8px;\">'.",
  7. 'htmlcont1'  => "abbcs('$2').",
  8. 'htmlclose1' => "'</td>'",
  9. 'textcont1'  => '$2 | ',
  10. 'htmlopen2'  => "~'<td colspan=\"'.abbcq('$1').'\" rowspan=\"'.abbcq('$1').'\" style=\"padding-right:8px;\">'.",
  11. 'htmlcont2'  => "abbcs('$1').",
  12. 'htmlclose2' => "'</td>'",
  13. 'textcont2'  => '$2 | ',
  14. 'htmlblock'  => true,

It seems the lines for parameter 2 handling are simply copy&past and it was forgotten to adopt some parameters.
Change the parameter for rowspawn from $1 to $2 and for the htmlcont2/extcont2 from $2 to $3 and everything will be fine.

See code:

  1. 'htmlopen2'  => "~'<td colspan=\"'.abbcq('$1').'\" rowspan=\"'.abbcq('$2').'\" style=\"padding-right:8px;\">'.",
  2. 'htmlcont2'  => "abbcs('$3').",
  3. 'htmlclose2' => "'</td>'",
  4. 'textcont2'  => '$3 | ',
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 181.4 ms (93 ms) · 33 database queries in 132.9 ms
Current time: 2012-02-08, 09:18:02 (UTC +01:00)