Hello! Where are the settings for the appearance of the hyperlink (course element) stored (in the database or somewhere else)? And how can I change the value of this parameter for all courses (for example, so that hyperlinks open in a new window, and not a pop-up)?
Hello. The site settings are in admin/settings.php?section=modsettingurl
I think they will only apply for new hyperlinks (URLs) but hopefully someone can reply and tell you how to change existing ones in the database.
I think they will only apply for new hyperlinks (URLs) but hopefully someone can reply and tell you how to change existing ones in the database.
The database table for urls is mdl_url
there is a display field in that table which aligns to the above select box
there is a display field in that table which aligns to the above select box
You can see the values in the html for the select box -- new window is 3
<select class="custom-select" name="display" id="id_display" data-initial-value="3"> <option value="0">Automatic</option> <option value="1">Embed</option> <option value="2">In frame</option> <option value="3" selected="">New window</option> <option value="5">Open</option> <option value="6">In pop-up</option> </select>