Questions tagged [yii2-user]

A flexible user management module that handles common tasks such as registration, authentication and password retrieval.

A flexible user management module that handles common tasks such as registrations, authentication and password retrieval.

The full source can be found on Yii2-user Github

The demo site can be found at Yii2-user site

162 questions
1
vote
1 answer

Kartik Gridview responsive column headers

In Kartik Gridview is there a way I can move the Column Headers and Column Search Fields so they are next to each other than stacked like this when when on an Iphone etc. I want it to show FAQ Type - Question - Answer all on one line when I am see…
samauto
  • 137
  • 2
  • 15
1
vote
1 answer

yii2: how to get slider range value

i use kartik-v/yii2-slider in my project . with this code i added one slider A range select : echo '$10 ' . Slider::widget([ 'name'=>'rating_3', 'value'=>'250,650', 'sliderColor'=>Slider::TYPE_GREY, …
Saltern
  • 1,305
  • 2
  • 16
  • 42
1
vote
1 answer

Yii2 UUID not mapped with model value

I am using p2made/yii2-uuid: * this extension to generate UUID to get UUID $varUuid = \p2made\helpers\Uuid\UuidHelpers::uuid(); mapping uuid to model---> $model->expenses = $varUuid; if i echo $model->expenses it shows uuid but if i print…
user5094904
1
vote
1 answer

YII2 Dependent radiolist on other radiolists

I have two tables, as shown below. tbl_tests: id | testname | description tbl_testitems: id | itemname | description | testid I need to user a radiolist for both of them so that when I chose the radiolist for the tests, then only the testitem…
1
vote
2 answers

Change User Status From SwitchInput into Dropdown list

Currently, I have an existing code to show user status as 'Inactive' or 'Active' based on ban_time field of table User. When status of User is 'Inactive', the ban_time field will be updated by current timespan (I guess it use external wrapper…
Quan Nguyen
  • 559
  • 4
  • 23
  • 47
1
vote
0 answers

Does Access Control Filter implementation work for REST API?

I tried finding out from the documentation but it is not mentioned and from this answer here it should work fine with REST API. Here is my code which returns status code 401 whenever I do not send access token with my request. public function…
Zack
  • 1,527
  • 2
  • 20
  • 32
1
vote
2 answers

Yii2-user links to other pages not working correctly

I installed yii2-user. On the login view there are a couple links at the bottom of the form. and
Shawn Sonnier
  • 513
  • 5
  • 10
  • 28
1
vote
1 answer

Load Barcode Generator Library to Yii2

Normally I always install some extension by using composer , but now I need to use Barcode Generator library http://www.barcodebakery.com/en In order to use their library I need…
Chhorn Soro
  • 3,061
  • 8
  • 27
  • 43
1
vote
1 answer

Yii2 mpdf with barcode-generator

I'm using yii2 and installed two extension : mpdf , and yii2-barcode-generator-8-types. Both of them were installed and configured properly and working well. But what I can't do is to load barcode into pdf. Here is my code : Controller : public…
Chhorn Soro
  • 3,061
  • 8
  • 27
  • 43
1
vote
0 answers

How to add custom table in dektrium-yii2-user

I have integrated the dektrium-yii2-user. Now there are profile,social_account,token,user are the tables given by the dektrium. I need to create a custom table and insert the necessary field that i am needed for my use. From profile table i need…
sbhuvanas
  • 23
  • 10
1
vote
3 answers

Yii2 ldap identity set up after authentication

I am newbie with Yii2 and I need to create a login system using ldap. There is not much information about it so I hope somebody can help me. I installed edvlerblog/yii2-adldap-module and I already succeed with the authentication implementation. My…
Nan
  • 471
  • 7
  • 15
1
vote
2 answers

How to create Pretty/Clean url using yii2 on nginx server

I am using basic template of yii2.0.3 on a nginx server and have a demo theme under web/theme/demo. I have config the web.php as below for the theme. 'components' => [ 'view' => [ 'theme' => [ 'pathMap' => ['@app/views' =>…
user3172663
  • 312
  • 3
  • 14
1
vote
1 answer

Yii2 - Wrong User model class being used

My app is built on the 'advanced' Yii2 application template and my User class is built on the Yii2-user module. The app seems to use the custom User model class dektrium\user\Module to handle registration as the custom fields I've added are being…
Pedro del Sol
  • 2,840
  • 9
  • 39
  • 52
1
vote
2 answers

Yii2 REST API BasicAuth not working

Im implementing REST API Authentication module as following step 1. Create user by Admin 2. First tim: login by Basic Auth to return access_token 3. Use access_token at step 2 to Auth user by. QueryParamAuth as this instruction it work with…
huythang
  • 313
  • 1
  • 3
  • 13
0
votes
1 answer

validation not working upon click submit in Yii2 Php Framework

I created a simple form with simple rules declared in model, but when I tried to submit, It is not working, I don't encountered an error also. The expected output should be the session flash, but nothing happened in my case This is my…