Wiki

Sorted by viewsX
Displaying 571-580 of 777 result(s).

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,289 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

Using phpseclib with Yii

Created 3 years ago by nkdHow-tos8 comments – viewed 9,280 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

Understanding series articles

Created 4 years ago by GOshaTips0 comments – viewed 9,273 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Handling recursive deletion in Yii

Created 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 9,262 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

Managing a star rating with the StarRating widget in Yii 2

Created 2 years ago by Kartik VHow-tos4 comments – viewed 9,260 times – ( +38 / -5 ) – version 2.0
In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

Serial Numbers (item counts) in GridView

Created 3 years ago by PeRoChAkHow-tos3 comments – viewed 9,140 times – ( +1 ) – version 1.1
Sometime we need to display numbers of items per page with their counting as a serial number.

Simple Jui Autocomplete in yii2

Created 9 months ago by ajithTutorials3 comments – viewed 9,107 times – ( -1 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

How to install Yii 2 advanced on a shared hosting environment

Created 10 months ago by oligalmaHow-tos1 comment – viewed 9,096 times – ( +3 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

XSS safe model content

Created 6 years ago by phirasTutorials2 comments – viewed 9,057 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.

two or more different collected data in one CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 9,020 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.