Buy Now
Sign in

Make chronoconnectivity output enojoy other Joomla content plugins

chronoben , July 17 2014
c
chronoben

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. :D ;)

admin

Thanks for sharing this! :)

Regards,
Max

Max
If your main question got answered then please mark the answer using the button!