Abstract: If you build your own template or change a existing one you might wish to enable/disable the automatically adding from the caption.js so how is that done in Joomla?

Solution: The adding from the caption.js is controlled via:

JHtml::_('behavior.caption');

So if you wish to remove that so that it isnĀ“t added automatically for example you need to edit the part from your template and remove this string. This is for example added in com_content\article\default.php

Leave your comments

Post comment as a guest

0

Comments

    • No comments found