Xtream VIP
Total posts: 129
06 Sep 2012 14:22

Hello, Sergey.

At a moment we can use Joomla plugins only with HTML field, but what do you think to turn on plugin mode globally in all templates, by default?

For example records/tmpl/default.php, line 35

<?php echo $this->loadTemplate('markup_'.$this->section->params->get('general.tmpl_markup', 'default'));?>

if we change it to

<?php echo JHTML::_('content.prepare', $this->loadTemplate('markup_'.$this->section->params->get('general.tmpl_markup', 'default')));?>

we will be able to load any Joomla plugin code directly in custom list template.

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
07 Sep 2012 02:35

That would not be very practical. Content prepare is running on content. But markup contain also filers, menu, ...

I think there should be a way to prepare content of articles in the list an in the full view.

Powered by Cobalt