MTGrid 2.0
January 28, 2003
- updated February 19, 2006
(Download)
The MTGrid tags enable you to easily constuct tabular pages out of entry or
category listings.
The following example lest all entries in a three column table:
<table>
<MTGrid num_columns="3">
<MTEntries>
<MTGridCell>
<MTGridIfLeftColumn><tr></MTGridIfLeftColumn>
<td>
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br/>
<$MTEntryExcerpt$>
</td>
<MTGridIfRightColumn></tr></MTGridIfRightColumn>
</MTGridCell>
</MTEntries>
<MTGridTrailingCells>
<MTGridIfLeftColumn></tr></MTGridIfLeftColumn>
<td> </td>
<MTGridIfRightColumn></tr></MTGridIfRightColumn>
</MTGridTrailingCells>
</MTGrid>
</table>
Example: This grid index displays
all entries - row by row - in a table of three columns.
Example: This transposed
grid displays all entries - column
by column
- in a table of three columns.
Example: This colored grid index displays all
entries in a table with alternatingly colored rows.
Example: This multi-page grid index
displays all entries in a two-column table across multiple pages.