joomla default error message popup

joomla default error message popup, joomla error message popup , joomla username password not matching error message

joomla add script and css in module

ADD in head

<?php
JHTML::_(‘behavior.mootools’);
JHTML::_(‘behavior.modal’);
?>
<?php
if ($this->getBuffer(‘message’)) : ?>
<script type=”text/javascript”>
window.addEvent(‘domready’, function() {
var myel = new Element(‘a’,{‘href’:’#error_info’});
SqueezeBox.fromElement(myel,{
handler:’adopt’,
adopt:’error_info’,
});
});
</script>
<?php endif; ?>

ADD after body

<div style=”display:none;”>
<div id=”error_info”><jdoc:include type=”message” />
</div>

You may also like...

Creating a Shopify App using Laravel How to Create Custom WordPress Plugin? How to Build a Telegram Bot using PHP How to Convert Magento 2 into PWA?