Wiki

Sorted by ratingX
Displaying 441-450 of 686 result(s).

A simple action for XUpload extension

Created 3 years ago by tydeas_drTips1 comment – viewed 12,610 times – ( +3 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

Yii2 and Pdf files with Mpdf

Created 2 months ago by CTalaHow-tos0 comments – viewed 1,373 times – ( +3 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created about a month ago by Louis GacTutorials0 comments – viewed 1,058 times – ( +3 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

Adding a link to a CDataColumn

Created about a year ago by le_topTips6 comments – viewed 8,005 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

View a related field in CGridView

Created 26 days ago by Rafael J TorresTips1 comment – viewed 1,015 times – ( +3 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,243 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

How to use the official Yii installer for Composer (**DEPRECATED**)

Created about a year ago by br0skHow-tos9 comments – viewed 11,474 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 5,210 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Configuring CWebLogRoute for DB profiling

Created 2 years ago by Igor IvanovicTutorials1 comment – viewed 15,475 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 3,726 times – ( +3 )
Sometimes writing views like