From 43636e7fabe96ed26b8848ab0a7dbc85f84b301e Mon Sep 17 00:00:00 2001 From: Mihail Date: Sun, 23 Oct 2016 10:39:11 +0300 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f16ab1e..ee59f82 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,32 @@ # Widget Newuser -This widget allow you to display new users in website template block on ffcms 3.*. +This widget allow you to display new users in website template block on ffcms 3. **Demo**: +![Widget new users preview image](https://cloud.githubusercontent.com/assets/3446897/19624709/f78f7170-990b-11e6-8d37-275b67f00596.png) 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". + +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: +``` + +
+
+
+ +
+
+ +```