Posted on : 2021-11-09 19:41:16 View Type: public
Sam Smith

how can i see notes in full screen? I want to create "Read" button, and when i click read, then it will be on fullscreen like lightbox.
how can i see notes in full screen? I want to create "Read" button, and when i click read, then it will be on fullscreen like lightbox.
Hey this is not related to support scope but i can try to give you a little guide.
first of all please understand there are two ways to do this.
1. Do it by Ajax so without page reload your popup can load the note in detail in Modal.
2. Do it with page refresh.
First of all you need to edit current list notes function and add a readmore link in it.
In which you can link it to something query string.
open_modal=yes&open_note=NOTE_ID_HERE
So you can check on page load on top
$notepresent = "no";
if(isset($_GET["open_modal"]) && isset($_GET["note_id"])) {
$notepresent = "YES";
}
So this way you now know that if $notepresent variable is set to YES then you have to open a note with details of note based on its id.
As system is build with bootstrap 4.6 you can use the Modal of that version from >> https://getbootstrap.com/docs/4.6/getting-started/introduction/
Then you can easily load that if your $noteprsent = "YES" found.
And in modal you can load details! Thanks.