Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-05-21 19:31:52

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Class on rows in a textile created table?

How about it am I missing something here? Working for everything but table rows for some reason.

Jamie

Offline

#2 2005-05-21 20:46:05

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Class on rows in a textile created table?

None of the modifyers are working. Urrrg… such as :

table(music). |_ Artist |_> Rating | (rating)| MegaDeath | Sucks |

Whats up with textile? I thought we got an update!

But it seems like alot of the modifyers are not working.

Last edited by soulship (2005-05-21 20:46:42)

Offline

#3 2005-05-22 00:57:33

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Class on rows in a textile created table?

If what you’ve entered here is exactly what you’re trying to use, then that’s why. :)

<pre> <code> table(music). |_. Artist|_. Rating| |MegaDeath|Sucks| </code> </pre>

produces <pre> <code> <table class=“music”> <tr> <th>Artist</th> <th>Rating</th> </tr> <tr> <td>MegaDeath</td> <td>Sucks</td> </tr> </table> </code> </pre>

Offline

#4 2005-05-22 01:22:22

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Class on rows in a textile created table?

Well actually I have tried many combos through the course of the day. I looked at lots of documentation from various sources. And that just happens to be one I grabbed. OK, wait a sec….that wasn’t my problem actually it was rows. Sorry.

Last edited by soulship (2005-05-22 01:23:01)

Offline

#5 2005-10-21 14:35:27

minusf
Member
Registered: 2005-02-15
Posts: 104

Re: Class on rows in a textile created table?

i myself have never seen the table keyword either on the textile page.
a bit of a frustration… same question a 100 times if no tight docs,
that’s life.


we is experts™

Offline

#6 2005-10-21 21:02:01

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Class on rows in a textile created table?

Offline

#7 2005-10-24 13:10:59

minusf
Member
Registered: 2005-02-15
Posts: 104

Re: Class on rows in a textile created table?

> doggiez wrote:

> http://www.textpattern.com/help/?item=table.

i am sorry but i can see nowhere on that page that i can use the
syntax:
<pre>
<code>
table(class). |cell|cell| |cell|cell|
</code>
</pre>

“table” as a keyword is nowhere on that page.
the examples given on that page do not work, and it’s frustrating
until someone shows you to put the “table” there on the first line.
or am i missing something?


we is experts™

Offline

#8 2005-10-24 14:16:36

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Class on rows in a textile created table?

Yes there is:

A set of attributes to be applied to an entire table must appear immediately before the table, on its own line, followed by a dot:<br />
{border:1px solid black}.
|This|is|a|row|
|This|is|a|row|
<br />So instead of your example, it says you should use:<br />
(class).
|cell|cell|
|cell|cell|

Last edited by doggiez (2005-10-24 14:23:27)

Offline

#9 2005-10-24 14:27:01

minusf
Member
Registered: 2005-02-15
Posts: 104

Re: Class on rows in a textile created table?

in 4.0.1 the examples you are showing are not working without table

this works:

<pre>
<code>
table(class). |cell|
</code>
</pre>

this doesn’t:

<pre>
<code>
(class). |cell|
</code>
</pre>

that is a whole keyword missing from the examples in the documentation….


we is experts™

Offline

#10 2005-10-24 16:01:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Class on rows in a textile created table?

Ah, I’m sorry. I seemed to remember using it like that somewhere in the past, but then if I’m right that must have been before 4.0.1.

Offline

Board footer

Powered by FluxBB