3

You can use the following: $menu = Joomla\CMS\Factory::getApplication()->getMenu(); $menuItem = $menu->getItem($menulink); echo $menuItem->title; If you var_dump($menuItem);, it will show you which properties are available for said menu item.


2

I duplicated your scenario (using the TinyMCE editor which is the base of JCE editor too) and it looks like for me that the toggleEditor() function is "handling" this interesting behavior within the Modal for the editor (as it is placing the editor in the document body when invoked, but that is only a half solution here). Thus, this script solved ...


2

The way the event is invoked is slightly different for Joomla 4. You can use the following: $(document).on('subform-row-add', function(event) { console.log(event.detail.row); }); Or native ES6+ Javascript (preferred): document.addEventListener('subform-row-add', ({ detail: { row } }) => { console.log(row); });


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