Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to add summaries to my homepage

homepage and categories summary ???


  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Look at the example plugin. It teaches how to write Vanilla plugin and as a use case it shows how to achieve what you are looking for.

  • Options

    Thank you. but the entire summary does not appear.

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    What do you mean by the "entire summary"? The upper part of the screenshot shows a summary and the lower part shows a full post.

  • Options
    riverredriverred New
    edited January 2018

    sorry, my english is bad...

    show all posts at homepage...

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    You took the information from a well documented example, so you should be able to solve that on your own... :frown:

    Look at this row:
    You can configure the size of the summary. You could set that config value to 100000000

    Or even better replace this part

                $discussionBody = htmlentities( // Restore HTML entities
                        html_entity_decode( // Convert HTML entities to single characters before cutting

    with something like that

                $discussionBody = Gdn_Format::to(

    It is important to use Vanillas formatter here!

  • Options

    super, thanks <3

Sign In or Register to comment.