I want to remove the strip image function from mod_feed in the administrator area.
mod_feed/tmpl/default.php at line 118
// Strip the images.
$text = JFilterOutput::stripImages($text);
$text = JHtml::_('string.truncate', $text, $params->get('word_count', 0), true, false);
echo str_replace(''', "'", $text);
When I comment(//) the first $text
the images don't show up.
When I comment(//) the second $text
as well then the images are visible.
But can someone tell me what the true
and false
do that come after ('word_count', 0), true, false);
And how should this be rewritten that it allows the images and still do the word count.
PS: I know editing a Joomla Module goes away after update. It is just learning for me.
PS2: Changing the last false to true makes the images show. But how to find out what it is pointed to.