onContentPrepare variables is empty

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
io77
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Feb 03, 2012 1:35 pm

onContentPrepare variables is empty

Post by io77 » Fri Feb 03, 2012 1:50 pm

Hello!
components\com_content\views\featured\view.html.php
joomla 2.5 onContentPrepare contains
79 $item->introtext = JHtml::_('content.prepare', $item->introtext, '', 'com_content.featured');
but in joomla 1.5 frontpage onContentPrepare contains
134 $results = $dispatcher->trigger('onPrepareContent', array (& $item, & $item->params, 0));

in joomla 2.5 $params on frontpage is empty and $row contains only introtext.
It is a bug o not?

Locked

Return to “Joomla! 2.5 Bug Reporting”