0
I want to lock the modal pop-ups so they do not close when clicking outside of them. Please provide me with precise instructions to achieve this urgently.
0
Hi @Binoche
You will need to add data-backdrop="static"
to the modal div
tag to prevent the modal from closing when clicking outside of it.
You can replace lines 16 and 17 in the themes\default\admin\views\footer.php
file with:
<div class="modal fade in" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static" aria-hidden="true"></div>
<div class="modal fade in" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" data-backdrop="static" aria-hidden="true"></div>
This will lock the modal so that it does not close when clicking outside of it.
My name is @Enyinnaya Gift . I am an Independent Software Developer
with in-depth knowledge of the SMA system. I have done a lot of customizations for many happy clients across the globe. One of my recent projects is a WooCommerce eCommerce/Web Shop Integration to seamlessly synchronize your inventory with WooCommerce. This integration allows you to manage products, stocks, and orders directly from your SMA software, eliminating the need to update multiple systems and enabling you to launch an online shop within minutes.
You can check out highlights and a demo of my latest customization by Clicking HERE - Highlights
You can also reach me via any of the following mediums for a real-time discussion on your customization request:
enyinnayag
genyinnaya
[email protected]
+2348068355192
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.