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.
User avatar
bascherz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 243
Joined: Mon Jan 16, 2006 1:33 am
Location: Vienna, VA
Contact:

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

Postby 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_content_plugins_in_your_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

Return to “Joomla! 3.x Coding”

Who is online

Users browsing this forum: No registered users and 7 guests