mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX namespaced includes
This commit is contained in:
parent
3936ddcaff
commit
5d516ea678
@ -1,5 +1,5 @@
|
|||||||
# Configuring pagination
|
# Configuring pagination
|
||||||
To customise the look and feel of the pagination component, simply override the template located
|
To customise the look and feel of the pagination component, simply override the template located
|
||||||
at `/blog/templates/Includes/Pagination.ss`
|
at `/blog/templates/SilverStripe/Blog/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).
|
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).
|
@ -23,5 +23,5 @@
|
|||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<% include EntryMeta %>
|
<% include SilverStripe\\Blog\\EntryMeta %>
|
||||||
</div>
|
</div>
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<% if $PaginatedList.Exists %>
|
<% if $PaginatedList.Exists %>
|
||||||
<% loop $PaginatedList %>
|
<% loop $PaginatedList %>
|
||||||
<% include PostSummary %>
|
<% include SilverStripe\\Blog\\PostSummary %>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p><%t Blog.NoPosts 'There are no posts' %></p>
|
<p><%t Blog.NoPosts 'There are no posts' %></p>
|
||||||
@ -37,8 +37,8 @@
|
|||||||
$CommentsForm
|
$CommentsForm
|
||||||
|
|
||||||
<% with $PaginatedList %>
|
<% with $PaginatedList %>
|
||||||
<% include Pagination %>
|
<% include SilverStripe\\Blog\\Pagination %>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% include BlogSideBar %>
|
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||||
|
@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
<div class="content">$Content</div>
|
<div class="content">$Content</div>
|
||||||
|
|
||||||
<% include EntryMeta %>
|
<% include SilverStripe\\Blog\\EntryMeta %>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
$Form
|
$Form
|
||||||
$CommentsForm
|
$CommentsForm
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% include BlogSideBar %>
|
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
|
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
|
||||||
|
|
||||||
<% include MemberDetails %>
|
<% include SilverStripe\\Blog\\MemberDetails %>
|
||||||
|
|
||||||
<% if $PaginatedList.Exists %>
|
<% if $PaginatedList.Exists %>
|
||||||
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
|
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
|
||||||
<% loop $PaginatedList %>
|
<% loop $PaginatedList %>
|
||||||
<% include PostSummary %>
|
<% include SilverStripe\\Blog\\PostSummary %>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
@ -15,9 +15,9 @@
|
|||||||
$CommentsForm
|
$CommentsForm
|
||||||
|
|
||||||
<% with $PaginatedList %>
|
<% with $PaginatedList %>
|
||||||
<% include Pagination %>
|
<% include SilverStripe\\Blog\\Pagination %>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% include BlogSideBar %>
|
<% include SilverStripe\\Blog\\BlogSideBar %>
|
||||||
|
Loading…
Reference in New Issue
Block a user