I want to use the standard Bootstrap 3/4/5 modal functionality but it doesn't work in JSN Ego. can you please look at it and let me know how to fix it?
Could you share the super admin account of your site so I can check?
credentials shared.
It doesn't load the modal JS, I just updated this file on your site:
/plugins/system/t4/src/t4/Document/Template.php
protected function renderHead() { ...... $this->wam->useScript('bootstrap.modal'); }
thank you for that. however when I put some content in it the content cannot be scrolled and I can't close the model by clicking outside the area (as you normally can with the Bootstrap modal) and Esc key doesn't work either.
can you please have a look again?
thank you.
romankl Could you share the FTP account of your site?
Sharing the FTP account is a bit more sensitive. Is there a way we can proceed without it? I can replace some files if necessary.
Thank you.
You can try with this custom CSS:
body.modal-open .modal { background-color: transparent !important; width: 100% !important; margin-left: auto !important; left: 0 !important; top: 0 !important; overflow-x: hidden; bottom: 0 !important; overflow-y: auto; }
seems like this did the trick. thank you very much.
You're welcome!