Introtext word limit k2 frontpage

I solved my problem by: 

  1. copying the the K2 templates folder to my Joomla folder: templates/myJoomlaTemplate/html/com_k2/
  2. Copying the default folder (I called mine blog)
  3. I then edited the category_item.php file to have the follwong code for displaying the item introtext:




   <?php if($this->item->params->get('catItemIntroText')): ?>
<!-- Item introtext -->
<div class="catItemIntroText">
<!-- <?php echo $this->item->introtext; ?> -->
<?php echo K2HelperUtilities::wordLimit($this->item->introtext, 50); ?>
</div>
<?php endif; ?>



Andit works like a charm  

I imagine you can accomplish the same thing for the other template files that can be found in the same folder. like user.php, tag.php, and latest.php 

Good luck,