Wiki

Sorted by ratingX
Displaying 371-380 of 786 result(s).

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

Created 3 years ago by Louis GacTutorials1 comment – viewed 12,923 times – ( +6 / -1 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

View a related field in CGridView

Created 3 years ago by rafaelt88Tips1 comment – viewed 12,087 times – ( +6 / -1 ) – 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".

Multilanguage web site controlling by get request and database allowed languages

Created 6 years ago by Igor IvanovicTutorials2 comments – viewed 22,781 times – ( +6 / -1 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

How to implement an event and attach it in a behavior

Created 4 years ago by seb7How-tos0 comments – viewed 19,271 times – ( +6 / -1 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Implementing a WebDAV server using SabreDAV

Created 4 years ago by nineinchnickTutorials6 comments – viewed 26,098 times – ( +6 / -1 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

How to implement form events

Created 3 years ago by Antonio RamirezHow-tos4 comments – viewed 19,883 times – ( +6 / -1 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

Checking for "expired" sessions/logins on the client side

Created 4 years ago by le_topHow-tos0 comments – viewed 24,952 times – ( +6 / -1 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 7 years ago by thyseusTutorials5 comments – viewed 74,387 times – ( +12 / -5 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Saving files to a blob field in the database

Created 7 years ago by zaccariaTips8 comments – viewed 59,427 times – ( +9 / -3 ) – version 1.1
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload

Ajax form submiting in Yii

Created 5 years ago by sirin kTutorials8 comments – viewed 136,185 times – ( +13 / -6 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.