Wiki

Sorted by viewsX
Displaying 531-540 of 708 result(s).

Define general array and variable and call it to anywhere in application

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 5,646 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

BUM - Add Additional Info to a User

Created about a year ago by fireflyHow-tos1 comment – viewed 5,636 times
How to add additional information to a user when using BUM extension?

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,621 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:

two or more different collected data in one CGridView

Created 11 months ago by KonApazHow-tos2 comments – viewed 5,588 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Setting static modules' properties in config

Created 2 years ago by Alexander PalamarchukTips0 comments – viewed 5,492 times – ( +2 / -2 ) – version 1.1
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Creating a Dependent Dropdown From Scratch in Yii2

Created 4 months ago by ThePr0f3550rHow-tos1 comment – viewed 5,393 times – ( +3 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

Update CGridview row separately using ajax request

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

How to implement cron in Yii 2

Created 6 months ago by hemcHow-tos7 comments – viewed 5,382 times – ( +8 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console

Building a REST API in Yii2.0

Created about a month ago by sirin kTutorials3 comments – viewed 5,330 times – ( +2 ) – version 2.0
This is a simple wiki which is useful if you are trying to build a REST API in Yii2.0
tags: yii2.0, REST API

Instanciar clase hija basada en campo de modelo padre (CActiveRecord)

Created 2 years ago by robregonmHow-tos0 comments – viewed 5,312 times – ( +2 ) – version 1.1
[EN] [ES]