Jump to content

Sidebar: Latest Posts


Recommended Posts

I have a question regarding this widget. What file handles the number of characters /  words to display in the widget? I find that if I have a long post... the widget almost pus like half the text from the post in the widget...

How can I limit it?

Link to comment
Share on other sites

How did you do ?


You have to go to your Skin -> Edit HTML/CSS -> Search for postFeed​ under the templates tab, and click postFeed file.


Find this code:

                        <div class='ipsDataItem_main'>
                            <a href="{$comment->url()}" title='{lang="view_this_topic" sprintf="$comment->item()->title"}' class='ipsDataItem_title ipsType_break'>{wordbreak="$comment->item()->title"}</a><br>
                            <span class='ipsType_light ipsType_small'>{lang="byline_nodate" htmlsprintf="$comment->author()->link()"} &middot; {$comment->dateLine()|raw}</span>
                            <div class='ipsType_small ipsType_textBlock ipsType_richText ipsType_break' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='{{if $orientation == 'vertical'}}2 lines{{else}}1 lines{{endif}}'>
                                {$comment->truncated( true )|raw}

size='{{if $orientation == 'vertical'}}6 lines{{else}}2 lines{{endif}}'>


and change the number 6 to your desired number.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...