FIX namespaced includes

This commit is contained in:
Franco Springveldt 2017-09-21 09:10:21 +12:00
parent 3936ddcaff
commit 5d516ea678
9 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
# Configuring pagination
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).

View File

@ -23,5 +23,5 @@
</a>
</p>
<% include EntryMeta %>
<% include SilverStripe\\Blog\\EntryMeta %>
</div>

View File

@ -26,7 +26,7 @@
<% if $PaginatedList.Exists %>
<% loop $PaginatedList %>
<% include PostSummary %>
<% include SilverStripe\\Blog\\PostSummary %>
<% end_loop %>
<% else %>
<p><%t Blog.NoPosts 'There are no posts' %></p>
@ -37,8 +37,8 @@
$CommentsForm
<% with $PaginatedList %>
<% include Pagination %>
<% include SilverStripe\\Blog\\Pagination %>
<% end_with %>
</div>
<% include BlogSideBar %>
<% include SilverStripe\\Blog\\BlogSideBar %>

View File

@ -10,11 +10,11 @@
<div class="content">$Content</div>
<% include EntryMeta %>
<% include SilverStripe\\Blog\\EntryMeta %>
</article>
$Form
$CommentsForm
</div>
<% include BlogSideBar %>
<% include SilverStripe\\Blog\\BlogSideBar %>

View File

@ -2,12 +2,12 @@
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
<% include MemberDetails %>
<% include SilverStripe\\Blog\\MemberDetails %>
<% if $PaginatedList.Exists %>
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
<% loop $PaginatedList %>
<% include PostSummary %>
<% include SilverStripe\\Blog\\PostSummary %>
<% end_loop %>
<% end_if %>
@ -15,9 +15,9 @@
$CommentsForm
<% with $PaginatedList %>
<% include Pagination %>
<% include SilverStripe\\Blog\\Pagination %>
<% end_with %>
</div>
<% include BlogSideBar %>
<% include SilverStripe\\Blog\\BlogSideBar %>