https://github.com/phpffcms/widget-newuser
Widget to display new users in template block for ffcms 3
https://github.com/phpffcms/widget-newuser
Last synced: 3 months ago
JSON representation
Widget to display new users in template block for ffcms 3
- Host: GitHub
- URL: https://github.com/phpffcms/widget-newuser
- Owner: phpffcms
- License: mit
- Created: 2016-10-23T07:15:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-23T08:34:14.000Z (over 8 years ago)
- Last Synced: 2024-11-13T03:44:34.750Z (7 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Widget Newuser
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:
```
= __('New users') ?>
= Widgets\Front\Newuser\Newuser::widget(); ?>
```