On some of our modules we save browser capability values to localStorage, this ensures the module will not recheck again until browser get upgraded or a user clears the localStorage manually in their browser. This is only relavent with the following Joomla51 module extensions..
- J51 LayerSlideshow
- J51 Rotate
- J51 ImageHover
- J51 News
- J51 Testimonials
You may find that this goes against some local GDPR guidelines and require this feature to be disabled. To do so you can go through the following steps.
- Create an override for your module. A override allows you to override the output of your module and are located in the ./html folder of your template (Eg. ../templates[YourTemplate/html). Note that an override for your module may already exist. If it does you will be editing your existing override rather than creating a new one. You can check if an override exists by checking your templates html folder. Overrides are stored in a self titled sub-folder of the html folder.
- Presuming there is no existing override for your module, navigate to your template customiser (Joomla 4: System -> Site Templates -> [YourTemplate])
- Click in to the Create Overrides tab and select the module you wish to override
- Once you created the override, click back in to the Editor tab
- Navigate to the ./html folder and locate the override you have just created (Eg. ./html/j51_rotate/default.php
- In your override code, locate where the slider object is been set. It will look something like the following...
var slider = tns({ container: "#layerslideshow'.$j51_moduleid.'", mode: "gallery", items: 1, slideBy: "page", controls: true, autoplay: '.$autoplay.', autoplayTimeout: '.$autoplaySpeed.', speed: '.$speed.' });
- To the end of the slider object, add a useLocalStorage property and set it to false. Eg.
var slider = tns({ container: "#layerslideshow'.$j51_moduleid.'", mode: "gallery", items: 1, slideBy: "page", controls: true, autoplay: '.$autoplay.', autoplayTimeout: '.$autoplaySpeed.', speed: '.$speed.' useLocalStorage: false });
- Click Save & Close
Note: Ensure to repeat the above for all relavent modules.