Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Blocks FAQ: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
How do I hide front page blocks from non-logged-in users?
mCap resum de modificació
Línia 20: Línia 20:
[[Category:Block]]
[[Category:Block]]
[[Category:FAQ]]
[[Category:FAQ]]
[[de:Bl%C3%B6cke_FAQ]]

Revisió del 00:08, 17 feb 2009

How do I set the default block layout for new courses?

The default block layout can be set as "sticky" blocks via Administration > Appearance > Sticky blocks (in 1.6 to 1.8) or Administration > Modules > Blocks > Sticky blocks (in 1.9 onwards).

An alternative method is to edit config.php. See Block layout for more details.

How do I hide front page blocks from non-logged-in users?

  1. Click the "Turn editing on" button at the top-right of the front page. (You need to be logged in as an administrator.)
  2. Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden.
  3. Click the "Override permissions" tab.
  4. Select the guest role.
  5. Set the capability moodle/block:view to prevent.
  6. Click the "Save changes" button.

See also