Tag mainlist page links
From b2evolution manual
Displays links to list pages.
$MainList->page_links( array( 'block_start' => ' ', 'block_end' => ' ', 'block_single' => '', 'links_format' => '$prev$', 'prev_text' => '#', ) ); $MainList->page_links( array( 'block_start' => ' ', 'block_end' => ' ', 'block_single' => '', 'links_format' => '$next$', 'prev_text' => '#', ) );
or
// -------------------- PREV/NEXT PAGE LINKS (POST LIST MODE) -------------------- mainlist_page_links( array( 'block_start' => '<div class="navigation">', 'block_end' => '</div>', 'prev_text' => '<<', 'next_text' => '>>', ) ); // ------------------------- END OF PREV/NEXT PAGE LINKS -------------------------
[edit] Parameters
| Name | Default | Usage |
|---|---|---|
| block_start | '<p class="center">' | Displayed before links. |
| block_end | '</p>' | Displayed after links. |
| block_single | (no space) | |
| links_format | '#' | If 'links_format' is '#' then it will be displayed in default format $prev$ $first$ $list_prev$ $list$ $list_next$ $last$ $next$. You can use own format to display links. |
| page_url | (no space) | All generated links will refer to the current page. |
| prev_text | '<<' | Previous label. |
| next_text | '>>' | Next label. |
| no_prev_text | (no space) | Text to show if there are no previous links. |
| no_next_text | (no space) | Text to show if there are no next links. |
| list_prev_text | '...' | List previous label. |
| list_next_text | '...' | List next label. |
| list_span | 11 | Number of links to show. |
| scroll_list_range | 5 | Step to list links. |
[edit] Return value
This tag displays content only, it does not have a return value.

