Wiki

Sorted by viewsX
Displaying 461-470 of 708 result(s).

CGridView keep focus on the control after filtering

Created 2 years ago by jayalaHow-tos2 comments – viewed 7,763 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

CSqlDataProvider in CGridView

Created 7 months ago by KonApazTutorials8 comments – viewed 7,694 times – ( +6 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Implementing a Flat User Access System

Created about a year ago by TrejderHow-tos1 comment – viewed 7,694 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.

Display Status image on CGridView column

Created about a year ago by Ankit ModiTutorials1 comment – viewed 7,665 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

yii vim eclimd how it works

Created 3 years ago by RusAlexHow-tos1 comment – viewed 7,580 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

Publish yii webapp using Git push

Created 2 years ago by rootbearHow-tos6 comments – viewed 7,540 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

XSS safe model content

Created 4 years ago by phirasTutorials2 comments – viewed 7,538 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

Functional tests independing from your urlManager settings

Created 3 years ago by RusAlexTips1 comment – viewed 7,532 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

Using sub query for doubletts

Created 2 years ago by mbTips3 comments – viewed 7,500 times – ( +1 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Turn Web HTML Into Newsletter

Created about a year ago by yasenHow-tos1 comment – viewed 7,489 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.