Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » blog entries in the blog handler

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1075 Views
  • animasola
    Avatar
    Community Member
    121 Posts

    blog entries in the blog handler Link to this post

    Hi,

    I just installed the blog module for ss and I tried posting some new entries. As we all know, the latest posts' gist are shown in the handler. Now, I find the gists too short and I want to make them longer, by gist I mean the posts shown in the handler where there is a read more button at the end. Anyone know how I will be able to do this? And another thing, I also wish to know how to control the number of displayed posts in the handler.

    Any piece of advice would be greatly appreciated, thanks!

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: blog entries in the blog handler Link to this post

    bump.

    anyone? please?

  • Ultimate
    Avatar
    Community Member
    18 Posts

    Re: blog entries in the blog handler Link to this post

    1. Show the full post in the BlogHolder edit BlogSummary.ss

    (...)

    <% if IsWYSIWYGEnabled %>
       $Content
    <% else %>
       $ParsedContent
    <% end_if %>

    (...)

    2. You can limit the posts shown per page in BlogHolder.php

    (...)
    function BlogEntries($limit = 10) {

    (...)

    1075 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.