phpffcms/widget-newuser
Composer 安装命令:
composer require phpffcms/widget-newuser
包简介
FFCMS widget to display new users in block
README 文档
README
This widget allow you to display new users in website template block on ffcms 3. Demo:
To use this widget you should require it by composer:
composer require phpffcms/widget-newuser:1.*@stable
or insert in composer.json to section "require": {}
"require": {
"phpffcms/widget-newuser": "1.*@stable"
}
Then in ffcms admin panel follow to Widgets -> All widgets ... -> press Install and type in field Newuser and push Try install.
After installation is complete you can use anywhere in front templates (ex. in /Apps/Views/Front/default/layout/main.php) block like this:
<?php if (Widgets\Front\Newuser\Newuser::enabled()): ?>
<div class="panel panel-primary">
<div class="panel-heading"><?= __('New users') ?></div>
<div class="panel-body">
<?= Widgets\Front\Newuser\Newuser::widget(); ?>
</div>
</div>
<?php endif; ?>
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-23
