Hot answers tagged

1

JHtmlSidebar is pretty simple and doesn't support headings/separators or anything like that. But you can fake them by adding the required HTML to the language string used as a name for the entry and omitting the link. The language string: COM_MYCOMPONENT_SUBMENU_HEADING="<h3>My Heading</h3>" COM_MYCOMPONENT_SUBMENU_SEPARATOR="<span class=\"...


1

You will firstly need to create a helper class that extends ContentHelper, like so: administrator/components/com_mycomponent/Helper/MyComponentHelper.php use Joomla\CMS\Helper\ContentHelper; class MyComponentHelper extends ContentHelper { protected $config = null; public function __construct($config) { $this->config = new ...


Only top voted, non community-wiki answers of a minimum length are eligible