> Maybe a silly question, but I am using php1.3.3 and I cannot format
> tables. Is there something I need to setup from default? The
> 'textformattingrules' page works with table formatting but not my normal
> pages.
(This should go in the FAQ if it's not there already...)
We're in the midst of a (very slow) transition to a new set of
markup rules. Starting in 1.3.3 there's a checkbox on the edit
form which determines whether the page is displayed using the old
or new rules. The default for new pages is to use the new rules.
(TextFormattingRules describes the old markup rules.)
The new rules are described, more or less, at
http://phpwiki.sf.net/phpwiki/NewBlockMarkup
and
http://phpwiki.sf.net/phpwiki/NewInlineMarkup
The new rules are not backwards-compatible with the old rules.
(Though backward-compatibility is kept, as much as is possible.)
One of the big differences, which you've discovered, is that the
old-style tables don't work with the new formatting rules.
You have several choices on how to get tables:
1. Use the old formatting rules (uncheck the checkbox on the
edit-page form) and use old-style tables.
2. Use the new formatting rules, and use the new
"definition list" style tables. Not all table structures
can be represented, but if they can, the new syntax is,
IMHO, much more natural and cleaner...
Type 1 |
Variation A |
Description of type A-1.
Variation B |
Or you can use type B-1.
Type 2 |
And so forth.
gets you
+---------+---------------+---------------------------+
| | Variation A | Description of type A-1. |
| Type 1 +---------------+---------------------------+
| | Variation B | Or you can use type B-1. |
+---------+---------------+---------------------------+
| Type 2 | And so forth. |
+---------+-------------------------------------------+
3. The current CVS code (but not 1.3.3) has an OldStyleTable
plugin which can be used to include old-style tables
within new-style pages.
<?plugin OldStyleTable
| Col 1 | Col 2
| a | b
?>
|