The World of Layonara

Layonara Community Support => Forum Discussion => Topic started by: orth on March 24, 2007, 04:07:46 AM

Title: Forum Update - HTML Cleanup & New Tables
Post by: orth on March 24, 2007, 04:07:46 AM
Okay, the HTML Cleanup went okay as far as I can tell, there are some issues here and there, in some cases all you need to do is edit your post and save it and things should fix themselves.  (I noticed this for bulleted lists).  

If you are missing anything please let me know.

Also the format of how you work with tables is much easier and I have converted the existing tables to use that new format.  To make a table you simply enter it like so:

Code: [Select]
[noparse]
[table=head]Heading 1|Heading 2|Heading 3
Row 1 Col 1| Row 1 Col 2| Row 1 Col 3
Row 2 Col 1| Row 2 Col 2| Row 2 Col 3
[/table]
[/noparse]
If you don't want a heading for the first row and just treat it as a normal row then you need not specify the =head part.

Now the real cool part... if you want to make these tables sortable, then specify which columns are sortable.  For example:

Code: [Select]
[noparse]
[table=head;sort=1,2,3]Spell|Level|Cost
Bless|1|460
Virtue|0|25
Implosion|9|7560
Resurrection|7|10000
[/table]
[/noparse]
produces this:

[table=head;sort=1,2,3]Spell|Level|Cost
Bless|1|460
Virtue|0|25
Implosion|9|7560
Resurrection|7|10000
[/table]

Notice how you can click the headings and they re-sort?

Anyway I should post this so I can turn the forum back on O.o.

Once again, let me know if anything significant has been lost, and if you see a stray html tag and it's your post, try fixing it.  As I said sometimes just clicking edit then save will do the trick.

Cheers,
orth
Title: Re: Forum Update - HTML Cleanup & New Tables
Post by: Thak on March 24, 2007, 06:04:22 AM
Oooh nice the sorting is a cool feature. Thanks! :)
Title: Re: Forum Update - HTML Cleanup & New Tables
Post by: Leanthar on March 24, 2007, 09:41:24 AM
Love the sorting option! :)
Title: Re: Forum Update - HTML Cleanup & New Tables
Post by: LynnJuniper on March 24, 2007, 10:25:35 AM
hey! That's awesome! Great job Orth!
Title: Re: Forum Update - HTML Cleanup & New Tables
Post by: Hellblazer on April 05, 2007, 07:34:06 AM
Any reason why I can not make a table of more than 3 rows? It always imput automaticaly the {/table] {table=head] after the third row, when ever i try to preview or submit it.

Meh gotta put a space after the {table=head] and the first letter d'oh
SimplePortal 2.3.7 © 2008-2026, SimplePortal