Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[textile] Table, tfoot
Following the instructions at txstyle.org (unless I’m missing the obvious), I’m not able to get the tfoot to appear correctly.
Here’s a test…
|={text-align:left; font-size:120%; font-weight:bold;}. Table 1: Title of table.
|^(header).
|_. First Header |_. Second Header |
|-.
|~(footer).
|\2=. A footer, centered & across two columns |
|-.
| Content Cell | Content Cell |
| Content Cell | Content Cell |
Giving me this…
| First Header | Second Header |
|---|---|
| ~(footer). |
A footer, centered & across two columns |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
You see the problem? The tfoot is not spanning the columns, and it’s showing up at the top of the tbody, not underneath. If the syntax is not right, then the instructions in txstyle.org aren’t right either. Or, again, am I missing the obvious?
Offline
#2 2014-10-06 12:31:14
- ax
- Plugin Author
- From: Germany
- Registered: 2009-08-19
- Posts: 165
Re: [textile] Table, tfoot
try this:
|={text-align:left; font-size:120%; font-weight:bold;}. Table 1: Title of table.
|^(header).
|_. First Header |_. Second Header |
|~(footer).
|\2=. A footer, centered & across two columns |
|-.
| Content Cell | Content Cell |
| Content Cell | Content Cell |
Offline
Re: [textile] Table, tfoot
Ah, yeah, that could be a little more clear in the instructions.
Thanks, Ax!
Offline
Re: [textile] Table, tfoot
This is one of those rare instances where I think having a table control in the editor would be very useful. Where you just say how many rows/columns you want hit “Add” and it inserts (or gives you the code to copy/paste) an empty table in Textile format with all the pieces included (title, thead, tfoot, tkitchensink). Then you just remove what you don’t want, which is a lot frickin’ easier in this case than adding what you do.
Plugin!
I don’t use tables often, but even for rare situations, this kind of magic would be worth it. Tables have always been the antithesis of Textile.
Last edited by Destry (2014-10-06 12:48:58)
Offline
Re: [textile] Table, tfoot
Destry wrote #284570:
This is one of those rare instances where I think having a table control in the editor would be very useful.
Maybe we should persuade Jukka to extend rah_textile_bar:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1