joomla default error message popup

joomla default error message popup, joomla error message popup , joomla username password not matching error message 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>

Read More