Wiki

Sorted by date (updated)X
Displaying 151-160 of 706 result(s).

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Updated 5 months ago by Kartik VFAQs1 comment – viewed 2,631 times – ( +30 / -4 ) – version 2.0
With Yii Framework 2.0, one of the many changes, that Yii 1.x developers will face is removal of all client helpers and revamp of the CClientScript functionality. For example no more CHtml::ajaxLink or Html::ajaxLink. How do you cater to such requirements in Yii 2.0?

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

Updated 5 months ago by Kartik VTutorials0 comments – viewed 1,669 times – ( +28 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Yii2 default values for Index data Provider

Updated 5 months ago by CTalaTips1 comment – viewed 1,855 times – ( +1 ) – version 2.0
Guys,

Open bootstrap modal and load content via Ajax

Updated 6 months ago by JbalTeroHow-tos1 comment – viewed 14,903 times – ( +2 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Updated 6 months ago by Gerhard LiebenbergHow-tos0 comments – viewed 10,404 times – ( +4 / -1 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

Advanced CGridview issues - custom button using php and html

Updated 6 months ago by KonApazHow-tos0 comments – viewed 2,752 times – ( +1 ) – version 1.1
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)

Update CGridview row separately using ajax request

Updated 6 months ago by KonApazHow-tos6 comments – viewed 5,369 times – ( +5 ) – version 1.1
There are cases you want to update a record on CGridview directly

How to send emails using SMTP

Updated 6 months ago by robregonmHow-tos0 comments – viewed 7,355 times – ( +4 ) – version 2.0
Follow @robregonm
tags: yii2, email, mail, mailer, smtp

Cómo enviar emails usando SMTP

Updated 6 months ago by robregonmHow-tos0 comments – viewed 1,981 times – ( +2 ) – version 2.0
Seguir a @robregonm

Log Activity in DataBase

Updated 6 months ago by mahdi1986Tutorials6 comments – viewed 10,151 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message