Wiki

Sorted by ratingX
Displaying 261-270 of 687 result(s).

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 2 years ago by Antonio RamirezTutorials2 comments – viewed 15,257 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Avoiding duplicate script download when using Ajax calls to render different Views

Created 2 years ago by Antonio RamirezTips5 comments – viewed 17,939 times – ( +12 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

What to do when composer fails to update your vendor packages?

Created 3 months ago by Kartik VTutorials0 comments – viewed 928 times – ( +25 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Managing your nested dropdown dependency with DepDrop widget

Created 3 months ago by Kartik VTutorials2 comments – viewed 2,437 times – ( +25 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

Managing a star rating with the StarRating widget in Yii 2

Created 3 months ago by Kartik VHow-tos1 comment – viewed 1,496 times – ( +25 / -5 ) – version 2.0
In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

Displaying uploaded file from DB for update with FileInput widget

Created 3 months ago by Kartik VHow-tos0 comments – viewed 2,718 times – ( +25 / -5 ) – version 2.0
This is for folks who are using \kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?

Model password confirmation field.

Created 2 years ago by twisted1919How-tos10 comments – viewed 47,092 times – ( +11 / -1 ) – version 1.1
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.

Setting application parameters dynamically in the back-end

Created 2 years ago by PablovpTutorials6 comments – viewed 27,844 times – ( +11 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 47,142 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created about a year ago by aarondfrancisTutorials1 comment – viewed 3,468 times – ( +7 )
Hello everybody.
tags: heroku, assets