1. If you update to Joomla 3.8.10, please make sure that you either do a full GitHub update of Fabrik, or disable caching for your lists (in the Advanced settings) or turn off Joomla's System Cache setting. A change in Joomla's cache code in 3.8.10 required a fix in Fabrik, which will be rolled in to the next release, but is currently only available in GitHub.

Masking areas whilst ajax updates

Aug 5, 2013
Masking areas whilst ajax updates
  • The fabrik loader object allows you to mask of sections of the page whilst they are being updated via an Ajax request.

    The loader object is found here:

    Code (Javascript):

    Fabrik.loader
     
    The 'start' method takes two properties, the DOM node's id that you want to place the loader over, and the loading message.

    to overlay on a div id="hideme":

    Code (HTML5):

    <div id="hideme">this will be masked out</div>
     
    You would use this code:
    Code (Javascript):

    Fabrik.loader.start('hideme', 'loading ....... ');
     
    To then remove the loader you use:

    Code (Javascript):

    Fabrik.loader.stop('hideme');
     

    to show a loading overlay that covers the whole page

    Code (Javascript):

    Fabrik.loader.start(null, 'loading msg ');