danielneis/moodle-block_newblock 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

danielneis/moodle-block_newblock

Composer 安装命令:

composer require danielneis/moodle-block_newblock

包简介

A block template for Moodle based on http://docs.moodle.org/dev/Blocks

README 文档

README

This is a template for Moodle blocks.

It is used by Moosh (http://moosh-online.com/) to generate new block plugins.

  • This template assumes that the block is using a textual content type by default. If you want your block to display a list of items (using $this->content->items and $this->content->icons instead of $this->content->text), change the derived class of the block, from extends block_base to extends block_list. For more information: https://docs.moodle.org/dev/Blocks#Additional_Content_Types.

  • Go to Settings > Site Administration > Development > XMLDB editor and modify the module's tables.

  • Modify version.php and set the initial version of you module.

  • Visit Settings > Site Administration > Notifications, you should find the module's tables successfully created

  • Go to Site Administration > Plugins > Blocks > Manage blocks and you should find that this newblock has been added to the list of installed modules.

  • You may now proceed to run your own code in an attempt to develop your module. You will probably want to modify block_newmodule.php and edit_form.php as a first step. Check db/access.php to add capabilities.

We encourage you to share your code and experience - visit http://moodle.org

Good luck!

Build Status

统计信息

  • 总下载量: 740
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 44
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 12
  • Forks: 36
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv3
  • 更新时间: 2015-01-29