1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.
    Dismiss Notice

AutoFading System Messages

Jan 4, 2018
AutoFading System Messages
  • The following will implement a jQuery autofade as shown here: http://jsfiddle.net/2DpfP/4/

    • Download jQuery 1.7.1 from here. and place jquery-1.7.1.min.js in your template folder
    • Wrap a div around the jdoc call in your template's index.php:
    PHP:
    <div id="test">
        <jdoc:include type="message" />
    </div>
    • Add this javascript right before </head>:
    Code (Javascript):
    <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
        $('#test').delay(1000).fadeOut();
    });
    </script>
    There are also several Joomla plugins that can achieve this. I (Sophist) have just implemented JToastr that delivers them like Android Toast messages. Nice!!