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 # 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).

View File

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

View File

@ -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 %>

View File

@ -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 %>

View File

@ -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 %>