Configuraciones de bloque

Saltar a: navegación, buscar

Nota: Pendiente de ACTUALIZAR esta traducción respecto a la página original en inglés (ver enlace hacia English en el cuadro abajo a la derecha).     (otras páginas pendientes)

Moodle 2.x


Añadir un bloque a una página

Se pueden añadir bloques a una página al activar la edición y después usar el menú deplegable para 'Añadir un bloque' drop-down menu.

Por favor vea Bloques para ojear la lista de todos los bloques en una instalación estándar de Moodle. Su sitio puede tener complementos de bloques o su administrador del sitio pudo haber deshabilitado bloques específicos en su sitio.

Note: The ability to add a particular block to a page is controlled by an addinstance capability (e.g. block/comments:addinstance), which is allowed for the default role of teacher.

Configuración del bloque

After adding a block, click the edit icon in the block header to configure it.

Example of 2 blocks with editing turned on

Configuraciones del bloque

Certain blocks, such as the HTML block, allow a block title and more to be set.

Block configuration block setting area.png

Donde aparece este bloque

Depending upon the context and users permissions, this area determines where this block will appear.

  • Original block location: provides information about where the block was initially created.
  • Display on page types: allows the user to set the context that the block can appear in. These options will vary depending upon the permissions of the user. For example a site administrator might see a setting that will allow the block to appear on Any page, or any type of course main page, while a teacher may only see the option to place it on every page in the course.
  • Default region: Usually a right column or left column option
  • Default weight: Where in the column do you want it to appear if there are other blocks in that column. -10 will put it at the top, 10 will put it at the bottom. A zero is neutral.

Block configuration where appears.png

See Perfiles de usuario for instructions on how to make a block appear on all user profile pages.

En est apágina

  • Visible - Yes or No.
  • Region - Here you can override the column preference on this page.
  • Weight - Here you can override the default setting on this page.

Block configuration on this page.png

'Bloques pegajosos (Sticky blocks)'

The term 'sticky' block was used in older versions of Moodle to mean blocks which the admin added either site-wide or to the Mi hogar page and which could not be deleted by regular users. Although the term is no longer used, it is still possible to make blocks 'sticky' and in a wider variety of locations.

In Moodle 2.4.2 onwards, if an admin deletes a "sticky" block in a course, they receive a warning of the site-wide consequences of this action before it is deleted.

Here are a few examples:

Haciendo a un bloque pegajoso para todo el sitio

The Moodle administrator might wish for example to display support contact details sitewide using an Bloque HTML called 'Helpdesk':

  1. As an administrator, turn on the editing on the front page and add the block you wish to make sticky.
  2. For Where this block appears>Page contexts, choose 'Display throughout the entire site'.
  3. Decide other settings according to your preference and save.
  4. The block will now appear on all pages of your Moodle.
Making a block sticky throughout the site

Haciendo a un bloque pegajoso para todo un curso

The teacher might wish for example to display the Bloque de mensajes everywhere in the course. This would allow students easily to message each other and their tutors not only on the course from the main page but also on individual activities. The block would be available on admin pages too.

  1. As a teacher in the course, turn on the editing on the course main page and add the block you wish to make sticky.
  2. For Display on page types, choose 'Any page'
  3. Decide other settings according to your preferences and save.
  4. The block will now appear on all pages of the course.
Making a block sticky throughout a course

Haciendo a un bloque pegajoso en una categoría

A user with category rights might for instance wish to display a Bloque de canales RSS remotos in all of the courses within a particular category, such as a Head of Science adding Science news feeds to the Physics, Biology and Chemistry courses. While this should be possible, there are currently problems with blocks on category pages not saving the required page context. See MDL-31616

Making a block sticky in a resource or an activity

A teacher might wish to display a block in one particular resource or activity, for example a Head of Faculty might make create a Book for departmental policies and wish to add the comments block to every chapter/page of a book so colleagues can give quick feedback. (Note that such a comments block would be the same block on each chapter/page)

  1. As a teacher in the course, turn on the editing and click into the resource/activity -in this case a Book and add the block.
  2. For Display on page types, you will see (for example) 'mod-book*'
  3. Decide other settings according to your preferences and save.
  4. The block will now appear on all related screens.
Making a block sticky throughout a book

Añadiendo un bloque a todas las páginas de perfil de usuario

See Perfiles de usuario

Añadiendo un bloque a la página de Mi hogar para todos los usuarios

See Mi hogar Note that such a block would not be truly 'sticky', in that users can customise their My home page and could, if wished, delete the block.

Permisos del bloque

Role permissions for a block can be changed by clicking the Assign roles icon (a face and mask) in the header of the block then via Settings > Block administration > Permissions.

Changing permissions in a block

Vea Bloques FAQ for details of how to hide front page blocks from non-logged-in users.