官术网_书友最值得收藏!

  • Moodle 1.9 Extension Development
  • Jonathan Moore Michael Churchward
  • 164字
  • 2021-08-06 17:24:05

Chapter 2. Creating and Modifying Blocks

Moodle blocks are plugins that load in the right-hand side or left-hand side column of a Moodle site and display information to the user in a rectangular block. Each side column can have zero, one, or multiple blocks loaded. If a column contains no blocks, the column will not be displayed. This allows Moodle to support one, two, or three column page layouts. Examples of built-in Moodle blocks include: HTML content, calendars, menus, and course lists, amongst others.

This chapter covers how to create a basic block in Moodle. This is one of the easiest and most popular customizations. Several basic Moodle programming concepts will be introduced that are used throughout the book. Here are some of the new skills that you will develop:

  • Creating a block from scratch
  • Managing language files
  • Working with capabilities
  • Adding instance configuration
  • Adding scheduled actions to a block
  • Reviewing a real world block
  • Using a block as a code container
主站蜘蛛池模板: 满洲里市| 昌黎县| 乐昌市| 酉阳| 淳安县| 长寿区| 腾冲县| 兴海县| 阿瓦提县| 平山县| 铜山县| 溧阳市| 都安| 陇川县| 马尔康县| 赤壁市| 江陵县| 弋阳县| 方正县| 肥乡县| 云阳县| 句容市| 谢通门县| 汉沽区| 城口县| 霍邱县| 加查县| 大余县| 湟中县| 杨浦区| 凤冈县| 凤阳县| 香港| 宁德市| 峨山| 清水河县| 峨眉山市| 宜兴市| 阿合奇县| 平阳县| 尤溪县|