Make chronoconnectivity output enojoy other Joomla content plugins

chronoben 17 Jul, 2014
2 Likes
Hi,

I tried many times to embed plug in codes such as {myplugin}bla bla{/plugin} in the output of Chronoconnectivity in order to make use of other Joomla content plug ins but to no avail - chronoconnectivity's output just came out raw ('unprepared' in related Joomla terms).

Well, after a few minutes I got it working but only through the chronoconnectivity plugin - so to enjoy this you should output your chronoconnectivity content using the plug in - direct output will give the normal plain stuff. Hopefully this could be embedded into chronoconnectivity by the honorable Max.

TO get it working simply edit your chronoconnectivity content plug in file:

Site_root/plugins/content/chronoconnectivity5/chronoconnectivity5.php


All that was added was a few lines of code shown below:

Replace:


return $return;


with:


JPluginHelper::importPlugin('content');
$customHtml = JHtml::_('content.prepare', $return);

return $customHtml;


Cheers and MAX - keep up the good job. 😀 😉
Max_admin 19 Jul, 2014
Thanks for sharing this!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger