Truncate String Plugin
23rd June 2019 J3
Joomla JHtml::string.truncate() function has a couple of minor but annoying bugs. See previous article TruncString Bugs and blog post for details. The new System Plugin xbTruncString provides an override for only this function rather than having to override the entire string.php library code (eg by using the mvcoverride plugin) and then maintain it when any part is updated in the core.
Function declaration:
public static function truncate($text, $length = 0, $noSplit = true, $allowHtml = true)
Tip Pop Button Plugin
4th January 2019 J3
The Joomla editor extension plugin TipPop Button provides a quick and easy way of inserting Tooltips and Popovers using Bootstrap. Clicking the button brings up a dialogue that allows you to set the text and various parameters for the tip or pop. If you have text selected in the editor the tip will we wrapped around it, or you can enter the text in the dialogue.