nooku is a Public Portfolio from Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

Create your own Portfolio or check out other free and subscription products from Assembla that will help accelerate your development projects.

nooku-server

Commit 3549

User picture
  • Author: johanjanssens
  • 2012-04-02 23:28 (about 2 years ago)

re #101 : Added text helper to com_newsfeeds to limit text based on word count.

Files Affected

 
Show contents
35483549
48
            <?php endif; ?>
48
            <?php endif; ?>
49
            <?php if ( $params->get( 'show_item_description' ) && $item->get_description()) : ?>
49
            <?php if ( $params->get( 'show_item_description' ) && $item->get_description()) : ?>
50
                <br />
50
                <br />
51
                <? $text = $this->getView()->limitText($item->get_description(), $params->get( 'feed_word_count' )); ?>
51
                <?= @helper('text.limit', array('text' => $item->get_description(), 'words' => $params->get( 'feed_word_count' ))); ?>
52
                <?= str_replace('&apos;', "'", $text); ?>
 
 
53
                <br />
52
                <br />
54
                <br />
53
                <br />
55
            <? endif; ?>
54
            <? endif; ?>