Wiki

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

Update specific cgridview html row after AJAX request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 10,154 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

CGridView customized CCheckBoxColumn

Created 2 years ago by chandranTips2 comments – viewed 10,108 times – ( +5 ) – version 1.1
Hi friends,

Yii 1.1: How To add id or class to CMenu items ?

Created about a year ago by Louis GacHow-tos0 comments – viewed 10,105 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

Automatic Parameter Binding to POST vars in Yii2

Created 2 years ago by aarondfrancisHow-tos2 comments – viewed 10,069 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Install specific Yii2 vendor extension & dependency without updating other packages.

Created about a year ago by Kartik VTips0 comments – viewed 10,023 times – ( +40 / -6 ) – version 2.0
The tips here are for advanced usages of composer and its assumed you have read about using composer and have a knowledge of your vendor packages to be updated. Let's consider, you want to update only one specific yii2 vendor library, without updating all the other extension packages?

Application-driven database with CDbMigration and an extended CActiveRecord

Created 4 years ago by Tudor IlisoiOthers0 comments – viewed 10,016 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Turn Web HTML Into Newsletter

Created 3 years ago by yasenHow-tos1 comment – viewed 9,988 times – ( +8 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

Easy way to redirect http:\\localhost\yii2-basic to http:\\localhost\yii2-basic\web\index.php

Created about a year ago by Scott_HuangTips0 comments – viewed 9,969 times – ( +3 / -3 ) – version 2.0
First of all, install yii2 basic template according below link:

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 9,966 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Preventing CJuiTabs from hiding drop-down CMenu items

Created 5 years ago by Steve FriedlTips1 comment – viewed 9,947 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.