Настройки ресурса Гиперссылка: различия между версиями

Материал из База знаний Центра ПУСК МФТИ
м Breslav.ep переименовал страницу URL resource settings в Настройки ресурса Гиперссылка: перевод
переводы
Строка 1: Строка 1:
{{URL}}
{{URL}}
This page explores in more detail the settings for the URL resource once you have added it to your course and also covers the Site administration settings.
На этой странице более подробно рассматриваются настройки ресурса Гиперссылка после того, как вы добавите его в свой курс, а также рассматриваются настройки администрирования сайта.


==General==
==Общее==
Give the URL a name and a description if required, checking the box if you want the description to display on the course page.
Укажите URL-адрес с названием и описанием, если требуется, и установите флажок, если вы хотите, чтобы описание отображалось на странице курса.


In External tool, type the full web address of your URL or click the Choose a link button for more options.
В окне «Адрес (URL)» введите полный веб-адрес вашего URL-адреса или нажмите кнопку «Выбрать ссылку» для получения дополнительных опций.


==Appearance==
==Внешний вид==
;Display
;Отображение
* ''Automatic'' - Make the best guess at what should happen (probably what is wanted 99% of the time).
* Автоматический - дает наилучшее представление о том, что должно произойти (вероятно, то, что требуется в 99% случаев). Встроить - отобразить страницу Moodle с заголовком, блоками и нижним колонтитулом. Отобразить название/описание элемента, а также отобразить файл непосредственно на странице.
* ''Embed'' - Show the Moodle page with heading, blocks and footer. Show the title/description of the item and display the file directly in the page as well
*Открыть - Без заголовка, блоков, нижнего колонтитула или описания в Moodle - просто показать файл в веб-браузере (например, показывает изображение, PDF, flash-анимацию, занимая все окно браузера).
* ''Open'' - No Moodle heading, blocks, footer or description - just show the file in the web browser (e.g. shows image, PDF, flash animation, taking up the whole browser window)
*Во всплывающем окне - то же, что и "Открыть", но открывает новое окно браузера для отображения этого файла (без заголовка Moodle, блоков и т.д.) - В этом окне браузера также отсутствуют все меню. Если вы выберете этот параметр, то сможете указать ширину и высоту всплывающего окна.  У вас также могут быть опции "в рамке" или "Новое окно", но они должны быть включены администратором. Если вы не видите какой-либо опции, попросите администратора включить ее в разделе Администрирование сайта > Плагины > Модули активности >URL.
* ''In pop-up'' - Same as 'Open', but opens a new browser window to show this file (without the Moodle heading, blocks, etc.) - this browser window also does not have all the menus in it. If you select this one, then you can specify the pop-up width and height.


You can also have 'in frame' or 'New window' but these must be enabled by the administrator. If you don't see an option, ask the administrator to enable it in ''Site administration >Plugins >Activity modules >URL.''
==URL variables==
==URL variables==


This section allows you to pass internal information as part of the URL. Site administration setting [[#Allow_URL_variables|Allow URL variables]] must be enabled to use these.
This section allows you to pass internal information as part of the URL. Site administration setting [[Настройки ресурса Гиперссылка#Allow URL variables|Allow URL variables]] must be enabled to use these.


This is useful if the URL is actually an interactive web page that takes parameters, and you want to pass something like the name of the current user, for example.
This is useful if the URL is actually an interactive web page that takes parameters, and you want to pass something like the name of the current user, for example.

Версия от 10:59, 3 апреля 2025

На этой странице более подробно рассматриваются настройки ресурса Гиперссылка после того, как вы добавите его в свой курс, а также рассматриваются настройки администрирования сайта.

Общее

Укажите URL-адрес с названием и описанием, если требуется, и установите флажок, если вы хотите, чтобы описание отображалось на странице курса.

В окне «Адрес (URL)» введите полный веб-адрес вашего URL-адреса или нажмите кнопку «Выбрать ссылку» для получения дополнительных опций.

Внешний вид

Отображение
  • Автоматический - дает наилучшее представление о том, что должно произойти (вероятно, то, что требуется в 99% случаев). Встроить - отобразить страницу Moodle с заголовком, блоками и нижним колонтитулом. Отобразить название/описание элемента, а также отобразить файл непосредственно на странице.
  • Открыть - Без заголовка, блоков, нижнего колонтитула или описания в Moodle - просто показать файл в веб-браузере (например, показывает изображение, PDF, flash-анимацию, занимая все окно браузера).
  • Во всплывающем окне - то же, что и "Открыть", но открывает новое окно браузера для отображения этого файла (без заголовка Moodle, блоков и т.д.) - В этом окне браузера также отсутствуют все меню. Если вы выберете этот параметр, то сможете указать ширину и высоту всплывающего окна. У вас также могут быть опции "в рамке" или "Новое окно", но они должны быть включены администратором. Если вы не видите какой-либо опции, попросите администратора включить ее в разделе Администрирование сайта > Плагины > Модули активности >URL.

URL variables

This section allows you to pass internal information as part of the URL. Site administration setting Allow URL variables must be enabled to use these.

This is useful if the URL is actually an interactive web page that takes parameters, and you want to pass something like the name of the current user, for example.

Another use is to create stable links that updates in each iteration of the course, for example:

if you want to link to the student's user report, then you add the base URL to the External URL field, and then in the URL variables section, add 'id' to the first field and select 'id' from under the site heading, and then save changes. The "base URL" is the fixed part of the URL, before the '?'. The result is a URL that always points to the student's user report.

A further use includes displaying all forums in a site, by using the base URL then adding add 'id' to the first field and selecting 'id' from under the site heading. Another use makes use of mailto:email@address. URL variables could then include the subject parameter followed by the 'Site full name'. E.g. if you wanted to email a teacher who taught multiple courses, if a student clicked the URL then the email would automatically fill the subject field, which would help the teacher to identify which course the student was in.

Other settings

Depending on what is enabled for your site and course, you may also need to explore Common module settings, Restrict access, Activity completion, Tags and Competencies

Drag and Drop a URL

If an administrator has enabled the experimental feature drag and drop upload of text/links in Settings > Site administration > Development > Experimental > Experimental settings, a link can be dragged into a section of the course and given a name, as shown in the images below.

Файл:DragURL.png
Adding a URL using drag and drop

URL module capabilities

Site administration settings

The URL resource has additional settings which may be changed by an administrator in Administration > Site administration > Plugins > Activity modules > URL.

Frame height

Here you can specify the height of the top frame (containing the navigation) if you choose the "in frame" display option. Note:If your theme has a large header then the height should be increased to prevent horizontal and vertical scrollbars.

Password

Here you can add a password that will connect your users to a secure site. See this forum post for more details.

Allow URL variables

Show the URL variables section on the URL resource's settings page. Variables enable you to pass internal information, such as the user's name, as part of the URL. Be aware of potential data protection issues when using this feature, for example, this may pass user information to a third party.

Include role names in parameters

This setting is only available if Allow URL variables is enabled.

Available display options

This setting allows you to add different ways the resource may be displayed on the course page. There are a number of defaults but you can add or change them here. Other display options are:

  • In frame - show the Moodle heading and the file description, with the file displayed in a resizeable area below
  • New window - very much like 'in pop-up', but the new window is a full browser window, with menus and address bar, etc.

Файл:Display.gif

Default values for activity settings

Here you can set the defaults for this resource.

See also

Form discussions:


de:Link/URL konfigurieren fr:Paramètres de l'URL es:Configuraciones del recurso URL