Формат Сворачиваемые разделы по темам: различия между версиями

Материал из База знаний Центра ПУСК МФТИ
переводы
 
наполнение
 
(не показано 9 промежуточных версий этого же участника)
Строка 1: Строка 1:


Формат курса «Вложенные разделы» представляет собой дополнительный плагин. Формат похож на формат стандартных тем, за исключением того, что все темы, кроме нулевой, можно включать и выключать. Это уменьшает беспорядок в курсах с большим количеством тем, большим количеством контента в темах или их сочетанием.
Формат курса «Сворачиваемые разделы по темам» представляет собой дополнительный плагин. Формат похож на формат стандартных тем, за исключением того, что все темы, кроме нулевой, можно сворачивать и разворачивать. Это уменьшает беспорядок в курсах с большим количеством тем, большим количеством контента в темах или и тем, и другим.


== Download ==
== Загрузка ==
You can download the format from the Modules and Plugins Database or by going to GitHub and cloning the repository alternatively by selecting one of the downloads for your version of Moodle if the database is unavailable. Full installation instructions are in the included 'Readme.txt' file.
Вы можете загрузить формат из [http://moodle.org/plugins/view.php?plugin=format_topcoll&_gl=1*fz6pg0*_ga*MTgyNzk0MzU4NC4xNzMzNjQyNzg5*_ga_QWYJYEY9P5*MTczNjMxNzEzMi40Mi4xLjE3MzYzMTcxMzguMC4wLjA. базы модулей и плагинов] или перейдя на [https://github.com/gjb2048/moodle-format_topcoll GitHub] и клонировав репозиторий, либо выбрав [https://github.com/gjb2048/moodle-format_topcoll/tags одну из загрузок] для вашей версии Moodle, если база данных недоступна. Полные инструкции по установке содержатся в прилагаемом файле Readme.txt.


== Installing ==
== Установка ==
Please follow the instructions in the supplied 'Readme.txt' file and if desired, follow this video:
Пожалуйста, следуйте стандартным инструкциям по установке плагина Moodle или инструкциям в прилагаемом файле Readme.txt.


== Overview ==
== Обзор возможностей формата ==
For an overview please see this video:
Для понимания возможностей плагина и его настроек, пожалуйста, посмотрите видео ниже. Несмотря на то, что оно снято для версии Moodle 2.5, все возможности и особенности формата курса «Сворачиваемые разделы по темам» оно показывает хорошо:


== Usage ==
{{#widget:Collapsed_Topics |arg.foo=bar|arg.bar=oni}}
Selecting


To select the format, simply choose it from the list of course formats in the course settings. To show / hide a topic just click on its toggle.
=== Описание вариантов структуры курса ===
Course Format
Setting the Toggle Text


Tick off 'Use default section name' and type in the 'Section name' box. This allows the summary to be shown as it normally is in the Topics course format (Course homepage#Topic format example).
* '''Темы''' ― где каждый раздел представлен в виде темы в порядке нумерации разделов. Это идентично предыдущим версиям формата.
 
* '''Недели''' ― где каждый раздел представлен в виде недели в порядке возрастания количества недель.  
Toggle State
* '''Сначала последняя неделя''' ― то же, что и «Недели», но текущая неделя отображается вверху, а предыдущие недели в порядке убывания отображаются ниже в режиме редактирования, где структура такая же, как у «Недель».
 
* '''Сначала текущая тема''' ― то же самое, что и «Темы», за исключением того, что текущая тема отображается вверху, если она была задана.
When refreshing the page, the state of the 'toggles' is remembered. This is on a per browser session per course basis for as long as the browser remains open. If you would like it to persist longer, please follow the instructions in the included 'Readme.txt' file.
* '''День''' ― где каждый раздел представлен в виде дня в порядке возрастания, начиная с даты начала курса.
 
В итоге курс в формате Сворачиваемые разделы по темам будет иметь примерно такой вид:
== Changing the look ==
[[Файл:Формат Свор разделы общий вид.jpg|альт=Формат Сворачиваемые разделы общий вид|без|мини|900x900пкс]]
 
=== Introduction ===
Since versions 1.9.8.1, 2.0.5.1, 2.1.5.1, 2.2.3.1 and 2.3.3.1 for Moodle 1.9.14+, 2.0.5+, 2.1.2+, 2.2+ and 2.3+ respectively, which were released on the 5th March 2012 the format now incorporates a means of customising the 'elements' and 'structure' of the course within Moodle on a course by course basis. The 'elements' are such things as the 'Toggle' word showing / not showing. The 'structure' is the way the sections are presented, in effect the ability to switch to the 'Collapsed Weeks' format without installing another course format. Two other structures 'Latest Week First' and 'Current Topic First' have also been added.
 
All of the settings can be changed through the course settings page as demonstrated on the overview video above.
 
=== Structure descriptions ===
 
* 'Topics' - Where each section is presented as a topic in section number order. This is identical to previous versions of the format.
 
* 'Weeks' - Where each section is presented as a week in ascending week order. This is identical to the 'Collapsed Weeks' course format.
 
* 'Latest Week First' - The same as 'Weeks' but the current week is shown at the top and preceding weeks in descending order are displayed below execpt in editing mode where the structure is the same as 'Weeks'.
 
* 'Current Topic First' - The same as 'Topics' except that the current topic is shown at the top if it has been set.
 
* 'Day' - where each section is presented as a day in ascending day order from the start date of the course.
 
== Fine tuning the look ==
Formatting
 
Most of the formatting is contained within the file 'styles.css' which is fully commented to facilitate easy manipulation of specific elements. For example, if you found that in your particular web browser the 'Topic ''x'' ' text was too big...
 
Then you can change the 'font-size:0.7em;' in the '.course-content ul.ctopics li.section .content .toggle a' selector class:
 
The Arrow
 
If you want to change the look and style of the arrow you can either change 'arrow_down.png' and 'arrow_up.png' in the 'pix' folder or if you would like a per theme look then override the CSS in your theme. To change the up and down arrow for the toggle you need to override some or all of the following depending on the size of your arrow:
 
The selector without the 'body.jsenabled' prefix is for when the user has disabled JavaScript and all the sections default to open.
 
To override the 'Open / Close all sections' arrows you need to override some or all of the following depending on the size of your arrow:
 
In both cases use 'pix:' URLs that pertain to your theme in line with standard theme design.
 
== FAQ ==
Q. How do I report an issue with Collapsed Topics?
 
: A. Raise an issue on Moodle Tracker or post a discussion on the Moodle Course Formats Forum
 
Q. Is Collapsed Topics Moodle 2.0, Moodle 2.1, Moodle 2.2, Moodle 2.3, Moodle 2.4 & Moodle 2.5 compatible?
 
: A. Yes. It incorporates a change where the section name of the topic summary is used instead of the summary itself to form the words on the toggle.
 
== Credits ==
Collapsed Topics has been developed by and is maintained by Gareth Barnard with invaluable input from:
 
* Anthony Borrow
* Frank Ralf, Matt Gibson, Howard Miller and Tim Hunt who commented on the Developer Forum
* Craig Grannell - Snub Communications who wrote the article 'Collapsed Tables' in .Net Magazine Issue 186
 
== See also ==
 
* Collapsed Topics is the Modules and plugins database page for downloads and more information on this module. There are versions for Moodle 1.9, 2.0, 2.1, 2.2, 2.3, 2.4 and 2.5. The Moodle 1.8 version for reference and legacy use is available from GitHub and in the downloads.
* Discussions: please create or find a discussion topic in the Moodle Course Formats Forum
* Bugs can be reported on Moodle Tracker

Текущая версия от 11:03, 15 января 2025

Формат курса «Сворачиваемые разделы по темам» представляет собой дополнительный плагин. Формат похож на формат стандартных тем, за исключением того, что все темы, кроме нулевой, можно сворачивать и разворачивать. Это уменьшает беспорядок в курсах с большим количеством тем, большим количеством контента в темах или и тем, и другим.

Загрузка

Вы можете загрузить формат из базы модулей и плагинов или перейдя на GitHub и клонировав репозиторий, либо выбрав одну из загрузок для вашей версии Moodle, если база данных недоступна. Полные инструкции по установке содержатся в прилагаемом файле Readme.txt.

Установка

Пожалуйста, следуйте стандартным инструкциям по установке плагина Moodle или инструкциям в прилагаемом файле Readme.txt.

Обзор возможностей формата

Для понимания возможностей плагина и его настроек, пожалуйста, посмотрите видео ниже. Несмотря на то, что оно снято для версии Moodle 2.5, все возможности и особенности формата курса «Сворачиваемые разделы по темам» оно показывает хорошо:

Описание вариантов структуры курса

  • Темы ― где каждый раздел представлен в виде темы в порядке нумерации разделов. Это идентично предыдущим версиям формата.
  • Недели ― где каждый раздел представлен в виде недели в порядке возрастания количества недель.
  • Сначала последняя неделя ― то же, что и «Недели», но текущая неделя отображается вверху, а предыдущие недели в порядке убывания отображаются ниже в режиме редактирования, где структура такая же, как у «Недель».
  • Сначала текущая тема ― то же самое, что и «Темы», за исключением того, что текущая тема отображается вверху, если она была задана.
  • День ― где каждый раздел представлен в виде дня в порядке возрастания, начиная с даты начала курса.

В итоге курс в формате Сворачиваемые разделы по темам будет иметь примерно такой вид:

Формат Сворачиваемые разделы общий вид