sagsoz06/block
Composer 安装命令:
composer require sagsoz06/block
包简介
A module to create small blocks of content to display anywhere on the site.
README 文档
README
| Branch | Travis-ci |
|---|---|
| master |
Installation
You can install the Block module with composer:
$ composer require asgardcms/block
Then run the following command to install the database tables:
$ php artisan module:migrate Block
In the backend GUI, go to Users > Roles > Admin. Then the permissions tab, and give the Admin role the permissions for the block module.
Documentation
This is a very simple module to create re-usable blocks of content. The blocks of content are created in the administration. You give it a name and a content.
After this, you'll be able to get the content of a block with the following code:
{!! Block::get('block-name') !!}
Resources
Info
All AsgardCMS modules respect Semantic Versioning.
统计信息
- 总下载量: 147
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-31