JHtml::_('content.prepare',... not working in my plugin

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 243
Joined: Mon Jan 16, 2006 1:33 am
Location: Vienna, VA

JHtml::_('content.prepare',... not working in my plugin

Post by bascherz » Sun Apr 15, 2018 8:51 pm

The plugin I am writing needs to be able to run content.prepare on article text pulled from the database before emailing it. So I added a call as prescribed in the first part of this page https://docs.joomla.org/Triggering_cont ... _extension to process the plugins used in the article being emailed. All that happens is the plugin tags are removed from the text. They are not processed to include the content that is properly included when the article is displayed on the site.

Is there a trick to this? What am I doing wrong?

Thanks in advance.
Bruce Scherzinger

Post Reply

Return to “Joomla! 3.x Coding”