I hope you are well.
When I select to print a Student’s Application, at the top right of the page, the following text appears:
This printout contains information that is the property of “Name of the School”. If you find this report, and do not have permission to read it, please return it to “Name Lastname (email@example.com)”. In the event that it cannot be returned, please destroy it.
I believe that the"Name Lastname (firstname.lastname@example.org)" is taking the credentials of the Administrator.
I need to change this to the credentials of the School, because the Administrator in this case is not responsible for the Academic information, so it is the wrong person to return the information to.
How can I replace this name and email with the name of the school and the email of the school, or the name and email of an Academic supervisor (who doesn’t have an Administrator Role)?
Thank you !!
Here is the full string so you can string-replace and edit as needed:
This printout contains information that is the property of %1$s. If you find this report, and do not have permission to read it, please return it to %2$s (%3$s). In the event that it cannot be returned, please destroy it.
The replacement worked well with the string you provided!
Is there a way I can find these strings on my own, so I don’t have to bother you with every string I need to replace? (which is probably a waste of your time)
I tried looking for it in the github repository with a text search, but for some reason, I couldn’t find it.
We couldn’t find any code matching ‘This printout contains information that is the property of’ in GibbonEdu/core`
That is interesting. I tried a shorter search and it seems to work, perhaps GitHub doesn’t do a full-text index on files. Try this: https://github.com/GibbonEdu/core/search?q=This+printout+contains
Another option is to use a code editor that can search within a whole folder, VSCode is my editor of choice, but I believe Atom and Sublime can also do this.
Cool!! Your search pattern works well!!
I’ll use that format from now on, and I will also try downloading the repo and opening it in VSCode.