yii-extensions

Hybridauth - PHP - Facebook returned an invalid user id

浪子不回头ぞ 提交于 2019-11-28 13:24:35
Well I had hybridauth working and login correctly using facebook since 2 weeks ago, I did not any change and this morning I found that it was not working. I tried to switch the facebook app (id and secret key) to another one which was also working before, but is still happening the same. I also tried to run the examples which comes with hybridauth, and they are not working neither, so i know is not per a configuration from my side, and neither from the facebook app configuration. This is what is telling me when i try to login: Error! Authentification failed. The user has canceled the

Yii2 disable Bootstrap Js, JQuery and CSS

你离开我真会死。 提交于 2019-11-27 17:18:19
Same as title, i don't want using bootstrap.css and bootstrap.js. I try using: 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapAsset' => [ 'css' => [], ], ], ], It remove bootstrap.css but can't remove bootstrap.js. Somebody can help me? In web.php config file add the following code into components array: 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapPluginAsset' => [ 'js'=>[] ], ], ], To be more comprehensive: in order to disable Css (bootstrap.css): 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapAsset' => [ 'css' => [], ], ], ], in order to disable JS

Hybridauth - PHP - Facebook returned an invalid user id

自古美人都是妖i 提交于 2019-11-27 07:39:48
问题 Well I had hybridauth working and login correctly using facebook since 2 weeks ago, I did not any change and this morning I found that it was not working. I tried to switch the facebook app (id and secret key) to another one which was also working before, but is still happening the same. I also tried to run the examples which comes with hybridauth, and they are not working neither, so i know is not per a configuration from my side, and neither from the facebook app configuration. This is what

Yii2 disable Bootstrap Js, JQuery and CSS

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 18:55:21
问题 Same as title, i don't want using bootstrap.css and bootstrap.js. I try using: 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapAsset' => [ 'css' => [], ], ], ], It remove bootstrap.css but can't remove bootstrap.js. Somebody can help me? 回答1: In web.php config file add the following code into components array: 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapPluginAsset' => [ 'js'=>[] ], ], ], To be more comprehensive: in order to disable Css (bootstrap.css):