We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38948
    • 15 Posts
    Hello,

    i have installed a new and clean MODx version (MODX Revolution 2.2.1-pl traditional). Additional packages: TinyMCE & Wayfinder & Articles 1.6

    In my html template i use the +latest_comments tag in my sidbar. This tag shows the whole text of the comments. But i want to show only the first sentence. Can i configure it?

    Martin
    [ed. note: speerwerfer last edited this post 14 years, 5 months ago.]
      • 38948
      • 15 Posts
      here you can see what i mean: http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution#CreatingaBloginMODxRevolution-Addinga%22LatestComments%22widget

      But how can I use bodyLimit in the articles Add-On? [ed. note: speerwerfer last edited this post 14 years, 5 months ago.]
        • 38948
        • 15 Posts
        OK, the solution is ...

        a new chunk! Name of the chunk: quipLatestComment

        <li class="[[+cls]][[+alt]]">
            <a href="[[+url]]">[[+body:ellipsis=`25`]]</a>
            <br /><span class="author">von [[+name]]</span>
            <br /><span class="ago">[[+createdon:ago]]</span>
        </li>