To whom it may concern:
I am developing a custom module in joomla 4 alpha, using bootstarp render modal window so that the user of component will assign images from media in joomla back end to extension gallery. In joomla 3.x there is insert and close button when modal window comes up. In Joomla 4 there is not or I am missing something:
$html .= JHtmlBootstrap::renderModal(‘myModal’, array(‘url’ => Uri::root().
path=’ . ‘&’ . JSession::getFormToken() . ‘=1″‘,
‘width’ => ‘620px’, ‘height’ => ‘390px’));
In joomla 3.x there is view=images in which the two buttons were added in its layout, in joomla 4 alpha there is not such view, only file and media views. The way around this problem is to make user create a folder in images folder of joomla and add images there then read those images in layout of extension from the folder, yet If there is a solution to add insert button, I would rather employ it. Kian William Nowrouzian