Rev | Line | |
---|
[118] | 1 | <{* ************************** usage ****************************
|
---|
| 2 | The template tag of the following list can be used.
|
---|
| 3 | <{$block.err_message}> // When the block cannot be displayed, this outputs the reason. Please do not delete it.
|
---|
| 4 | <{$block.data_count}> // The number of archives is displayed.
|
---|
| 5 | <{$block.contents}> // Data array of archives.
|
---|
| 6 | // Examples of <{$block.contents}>
|
---|
| 7 | <{foreach from=$block.contents item=content}> // Loop
|
---|
| 8 | <{$content.page}> // the author name is displayed as a link to their posts. Optionally this tag displays each author's post count.
|
---|
| 9 | <{/foreach}> // End of Loop
|
---|
| 10 | ************************* End of usage ************************ *}>
|
---|
| 11 | <{* Start Template *}>
|
---|
| 12 | <div class="xpress_block">
|
---|
| 13 | <{$block.err_message}>
|
---|
| 14 | <div class='xpress_page_block>
|
---|
| 15 | <ul>
|
---|
| 16 | <{foreach from=$block.contents item=content}>
|
---|
| 17 | <li>
|
---|
| 18 | <{$content.page}>
|
---|
| 19 | </li>
|
---|
| 20 | <{/foreach}>
|
---|
| 21 | </ul>
|
---|
| 22 | </div>
|
---|
| 23 | </div>
|
---|
Note: See
TracBrowser
for help on using the repository browser.