mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #237 from flashbackzoo/pulls/better-pagination-docs
Improvements to the pagination docs
This commit is contained in:
commit
7c45b23a30
BIN
docs/en/_images/blog-settings-pagination.png
Normal file
BIN
docs/en/_images/blog-settings-pagination.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
@ -9,7 +9,7 @@
|
|||||||
* Publish Date - Set a blog post to publish in the future.
|
* Publish Date - Set a blog post to publish in the future.
|
||||||
* Custom GridField components for quickly adding new objects.
|
* Custom GridField components for quickly adding new objects.
|
||||||
* RSS Feed of the blog
|
* RSS Feed of the blog
|
||||||
* Custom pagination via the Blog's "Settings" tab.
|
* [Custom pagination](pagination.md).
|
||||||
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
9
docs/en/pagination.md
Normal file
9
docs/en/pagination.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Pagination
|
||||||
|
|
||||||
|
By default your Blog will display ten posts per page. The number of posts per page is configurable via the "Settings" tab. Setting posts per page to zero will disable pagination, displaying all of your posts on a single page.
|
||||||
|
|
||||||
|
![](_images/blog-settings-pagination.png)
|
||||||
|
|
||||||
|
To customise the look and feel of the pagination component, simply override the template located at `/blog/templates/Includes/Pagination.ss`
|
||||||
|
|
||||||
|
If you have comments enabled, comment pagination is configurable via the [SilverStripe Comments Module configuration](https://github.com/silverstripe/silverstripe-comments/blob/master/docs/en/Configuration.md).
|
Loading…
Reference in New Issue
Block a user