Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2175

Joomla! 4.x Coding • Creating a modal window using Joomla JavaScript library (joomla.dialog))

$
0
0
Hello,

I am on Joomla v4.4.9 and I am trying to create a modal window following https://manual.joomla.org/docs/4.4/gene ... la-dialog/.

Running

Code:

$wa->useScript('joomla.dialog');
or

Code:

$wa->useScript('joomla.dialog-autocreate');

from HtmlView.php gives an error:
There is no "joomla.dialog-autocreate" asset of a "script" type in the registry.
I looked into ...\media\system\joomla.asset.json file but there is no asset with the above names.

Am I doing something wrong? Or should I abandon the Joomla JavaScript library and go for e.g. Bootstrap.modal or RegularLabs extension? Thanks!

Statistics: Posted by JanoD — Tue Nov 19, 2024 1:57 pm



Viewing all articles
Browse latest Browse all 2175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>