Hi, I am trying to get a reasonable layout of the search result rendered by the template's generic.php . Most things start to fall into the right places, but I have problems generating the introtext.
I have tried adding a
<?php if($this->item->params->get('catItemIntroText')): ?>
which results in a blank screen
and echoing the introtext with
<?php echo K2HelperUtilities::wordLimit($item->introtext, 20); ?>
and
<?php echo K2HelperUtilities::wordLimit($this->item->introtext, 50); ?>
and
<?php echo $item->introtext; ?>
and
<?php echo K2HelperUtilities::wordLimit($item->introtext, 60); ?>
, none of these resulting i anything.
What am I doing wrong?
Thanks,
Ben