Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
We now have table capability
We now have table capability
#1
I had to hack the install script for the table plug-in I found because it was causing SQL errors when I tried to run it, and then I had to hand-insert the MyCode extensions to do it.  And the button on the new post page for the pop-up table generator, which I got working last night, isn't appearing now (and for some reason the bank of smilies have disappeared with it), and I don't know why.  But still, we have table support now, with the following caveats:
  • Tables aren't rendered in the full editor.  You'll only see the square-bracket MyCode markup until you save the post.
  • Markup codes are currently only recognized in uppercase.  When I get a chance, probably at lunch or maybe tonight, I'll clone them into lowercase versions so you can mix and match.
  • There is almost no style control.  The table is always horizontally centered within the post.  Column headers are always going to be bold and centered.  Table cells contents are always regular and flush left.  The TABLE tag needs a width parameter (in % of screen width) or it will flood the post.
So, a quick demonstration.  This markup:

Code:
[TABLE=33]
[TH]Column 1[/TH]
[TH]Column 2[/TH]
[TR][TD]Content 1[/TD]
[TD]Content 2[/TD][/TR]
[/TABLE]

produces this table:

Column 1 Column 2
Content 1 Content 2
-- Bob

I have been Roland, Beowulf, Achilles, Gilgamesh, Clark Kent, Mary Sue, DJ Croft, Skysaber.  I have been 
called a hundred names and will be called a thousand more before the sun grows dim and cold....
Reply


Messages In This Thread
We now have table capability - by Bob Schroeck - 03-29-2019, 07:29 AM
RE: We now have table capability - by Labster - 03-29-2019, 06:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)