Diferencia entre revisiones de «Bloque de contenidos del curso»

De MoodleDocs
({{Pendiente de traducir}})
 
m (Texto reemplazado: «class="nicetable"» por «class="wikitable"»)
 
(No se muestra una edición intermedia de otro usuario)
Línea 1: Línea 1:
{{Pendiente de traducir}}
{{Pendiente de traducir}}
'''Course contents block''' produces a table of contents for the course - ie a list of all visible topics/weeks in your course. Clicking at one of these links will display that particular section (topic or week).
El '''bloque de contenidos del curso''' produce una tabla de contenidos para el curso - esto es,una lista de todos los tópicos o semanas visibles en su curso. Al hacer click en uno de estos enlaces, se mostrará esa sección (tópico o semana) particular.


If the section has its name defined, the block uses it as the title for that section.
Si la sección tiene su nombre definido, el bloque la usa como el título para esa sección.


If the section name is not defined but there is the section summary (description) available, the block automatically extracts a suitable title from that summary. If you start summary with a heading (H1, H2, H3, etc), it will use such heading text. If your summary starts with a bold text, it will be used as a section title. If the summary consists of several paragraphs, the first one will be used. Technically spoken, the plain text content of the first non-empty HTML DOM node from the section summary is used as the summary title.
Si el nombre de la sección no está definido, pero hay un resumen de la sección(descripción) disponible, el bloque extrae automáticamente un título apropiado de este resumen. Si Usted empieza el resumen con un encabezado (''heading'')  H1, H2, H3, etc, se usará ese texto del encabezado . Si su resumen comienza con texto en negritas, se usará como el título de la sección. Si el resumen consiste de varios párrafos, se usará el primero. Hablando técnicamente, el contenido de texto simple de primer nodo no-vacío HTML DOM del resumen de la sección es usado como el título del resumen.


If the summary is empty, a customizable text "Unit X" (where X is the number) is displayed.
Si el resumen está vacío, se muestra un texto personalizable "Unidad X" (donde X es el número).


You can combine this feature with the multi-language filter to generate course contents in the user's language.
Usted puede combinar esta características con el filtro multi-idioma para generar contenidos del curso en el idioma del usuario.


The block was written and is currently maintained by [[User:David Mudrak|David Mudrak]]
The block was written and is currently maintained by [[User:David Mudrak|David Mudrak]]
Línea 15: Línea 15:
<br clear="both" />
<br clear="both" />


==Installation==
==Instalación==


There is a public source code repository for the block at [https://github.com/mudrd8mz/moodle-block_course_contents github.com]. You can either clone that repository or just download the latest package there. Follow the instructions provided by Github or see [[Git for Administrators]] for details. This may be what you want:
There is a public source code repository for the block at [https://github.com/mudrd8mz/moodle-block_course_contents github.com]. You can either clone that repository or just download the latest package there. Follow the instructions provided by Github or see [[Git for Administrators]] for details. This may be what you want:
Línea 31: Línea 31:
To download the block in ZIP or TAR.GZ packages, follow [https://github.com/mudrd8mz/moodle-block_course_contents/tags this page]
To download the block in ZIP or TAR.GZ packages, follow [https://github.com/mudrd8mz/moodle-block_course_contents/tags this page]


==Examples==
==Ejemplos==


{| class="nicetable"
{| class="wikitable"
! <center>Start of the section summary HTML</center>
! <center>Start of the section summary HTML</center>
! <center>Automatic course contents line</center>
! <center>Automatic course contents line</center>
Línea 51: Línea 51:
|}
|}


==See also==
==Vea también==


* [http://moodle.org/plugins/pluginversions.php?plugin=block_course_contents Plugins database record]
* [http://moodle.org/plugins/pluginversions.php?plugin=block_course_contents Plugins database record]

Revisión actual - 15:22 10 ago 2021

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

El bloque de contenidos del curso produce una tabla de contenidos para el curso - esto es,una lista de todos los tópicos o semanas visibles en su curso. Al hacer click en uno de estos enlaces, se mostrará esa sección (tópico o semana) particular.

Si la sección tiene su nombre definido, el bloque la usa como el título para esa sección.

Si el nombre de la sección no está definido, pero hay un resumen de la sección(descripción) disponible, el bloque extrae automáticamente un título apropiado de este resumen. Si Usted empieza el resumen con un encabezado (heading) H1, H2, H3, etc, se usará ese texto del encabezado . Si su resumen comienza con texto en negritas, se usará como el título de la sección. Si el resumen consiste de varios párrafos, se usará el primero. Hablando técnicamente, el contenido de texto simple de primer nodo no-vacío HTML DOM del resumen de la sección es usado como el título del resumen.

Si el resumen está vacío, se muestra un texto personalizable "Unidad X" (donde X es el número).

Usted puede combinar esta características con el filtro multi-idioma para generar contenidos del curso en el idioma del usuario.

The block was written and is currently maintained by David Mudrak

The topic title is automatically extracted from the section summary


Instalación

There is a public source code repository for the block at github.com. You can either clone that repository or just download the latest package there. Follow the instructions provided by Github or see Git for Administrators for details. This may be what you want:

# cd /var/www/moodlesite/htdocs/blocks
# git clone git://github.com/mudrd8mz/moodle-block_course_contents.git course_contents
# cd course_contents
# git checkout -b local_22_STABLE origin/MOODLE_22_STABLE

If your Moodle dirroot is git checkout too, you may want to add the block directory into the list of ignored files:

# cd /var/www/moodlesite/htdocs
# echo /blocks/course_contents/ >> .git/info/exclude

To download the block in ZIP or TAR.GZ packages, follow this page

Ejemplos

Start of the section summary HTML
Automatic course contents line
Welcome!<br />In this course, you will ... Welcome!
<h1>Introduction</h1><p>In this course ...</p> Introduction
<h1><span>Lesson 1</span>: Introduction</h1> Lesson 1

Vea también