Questions tagged [yii-extensions]

Custom third party extensions/reusable components for the Yii framework, which provide common and repeatedly used functionalities for web applications. Use this tag only for such 3rd party extensions, not built-in components like Zii widgets.

Yii - extensions are custom reusable components for the Yii framework, which can be reused easily to implement commonly required web application functionality.

More information can be seen in the Extensions section of the definitive guide.

Available (published) extensions are expected to be listed in the official website here.

901 questions
36
votes
3 answers

Yii2 disable Bootstrap Js, JQuery and CSS

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…
taratula
  • 457
  • 1
  • 4
  • 10
30
votes
2 answers

What is the difference between component, extension & module in Yii

I am new to Yii framework, and just came across module, extension & component inside protected folder. Can anyone please differentiate all these theoretically as well as practically also.
Workonphp
  • 1,465
  • 17
  • 21
23
votes
1 answer

When to use components and when to use extensions in Yii?

I'm a little bit confused about the purpose of components and extensions folders in protected/ Please clarify.
oaziz
  • 1,342
  • 1
  • 16
  • 31
18
votes
8 answers

How can I disable yii-debug-toolbar on a specific view?

How can I disable yii-debug-toolbar on a specific view especially on partial rendered views? Is this possible? p.s. Yii-debug-toolbar does unfortunately not exist as a tag below.
Lonely
  • 5,174
  • 6
  • 33
  • 67
16
votes
3 answers

Difference in between Modules and extension in Yii

I want to know what is the difference in between modules and components in Yii Framework. I have googled so much but not got any good results. So can some one will help me out to know that. Any help and suggestions will be highly appreciable.
NewUser
  • 11,759
  • 36
  • 127
  • 221
16
votes
6 answers

How to validate email and email already exist or not check, in Yii Framework?

How to validate email using Yii Model validation rules function code. Also how to check email exist or not using Model validation rules function in Yii.
george
  • 201
  • 1
  • 3
  • 6
13
votes
4 answers

How to integrate payment gateway in yii2 using PayPal extension for the Yii2

How to use paypal extension in yii2. I am using this link https://github.com/marciocamello/yii2-paypal. I installed extension and also added code in config file . But there is not more information what to do next . So please help me. Thanks
jatin vaghasiya
  • 131
  • 1
  • 1
  • 8
13
votes
7 answers

model->attributes in Yii2 always has NULL value

I have one temporary model as viewModel. In my CRUD actions (for example actionCreate) I want to get this viewModel data and assign that to a ActiveRecord model. I used below code but my model object atrribute always show NULL value for…
b24
  • 2,345
  • 6
  • 28
  • 50
11
votes
3 answers

yii2 framework message language

As you know in Yii2 the core messages are available in 26 languages. I want to change yii core message language to display validation message in my language. I added this line to my config file: 'language' => 'fa_IR', and also added this…
b24
  • 2,345
  • 6
  • 28
  • 50
11
votes
0 answers

WebSocket is closed before the connection is established

I am using Yii framework and OpenTok API integrated with PUSHER API. When i tired to create an instance of PUSHER event, the connection established. But few seconds later, the connection closes automatically and give error like :Pusher : Error :…
tnchalise
  • 1,470
  • 2
  • 18
  • 37
10
votes
3 answers

How to seed database in yii2?

I am new to Yii framework. I want to seed my database like it can be done in Laravel framework using Faker. I tried this http://www.yiiframework.com/forum/index.php/topic/59655-how-to-seed-yii2-database/ but it does not provide much details. I would…
Faisal Qureshi
  • 211
  • 2
  • 9
10
votes
1 answer

Can not get variations

I want to implement i18n feature for ActiveRecord class FaqCategory using this extension. Here are my tables: CREATE TABLE `FaqCategory` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `icon`…
Sarkhan
  • 259
  • 1
  • 2
  • 8
10
votes
3 answers

Hybridauth - PHP - Facebook returned an invalid user id

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…
Eduardo O Algo
  • 101
  • 1
  • 5
10
votes
2 answers

How add CJuiDatePicker in JQRelcopy on Yii Framework

I have a problem with CJuiDatePicker in the module JQRelcopy on Yii framework. I use this module as I have a form with a datepicker field to be copied as many times as the user wishes. The module works fine if I put a normal field (without…
Florent
  • 761
  • 1
  • 10
  • 24
9
votes
2 answers

Yii2 role management with rbac and database storage

I want to learn Yii2 membership and use Yii to store and retrieve roles using a database. I have read Security Authorization and How to add role to user? and Does Anyone Have A Working Example Of Rbac? and also try using the yii2-admin extension and…
b24
  • 2,345
  • 6
  • 28
  • 50
1
2 3
60 61