With a Custom HTML module, there is an Option and you can select Yes or No for Prepare Content. This is needed if you have something like the content plugin I developed to acknowledge this, as it does in Joomla Articles:

{myplugin}ABCDE1234,"Flux Capacitor"{/myplugin}

For example, there is a module mod_articles_latest, and I wish to add the Prepare Content option to this, so that when it is showing Joomla Articles it will process the above plugin example.

I found this link about Triggering Content Plugins, but I'm unsure if simply adding this code to mod_articles_latest, will make it work:

$text = JHtml::_('content.prepare', $text);



1 Answer 1


Using JHtml::_('content.prepare', $text); should do what you want as long as the original $text contains your content tag.

The module mod_articles_latest outputs by default just the title of an article. If you want to modify the template of the module just for your site, you can use template overrides for the modification. If you want to offer your plugin for others this will not work. In that case, I recommend to create and provide your own version of those modules.

  • I should clarify, I'm working with a RSJOOMLA layout they did for a template for mod_articles_latest and it shows the first 250 characters of the Joomla Article. Nov 29, 2017 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.