Wiki

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

Using phpseclib with Yii

Created 3 years ago by nkdHow-tos8 comments – viewed 9,152 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

Role Management

Created about a year ago by Dency G BHow-tos0 comments – viewed 9,105 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Serial Numbers (item counts) in GridView

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

XSS safe model content

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

Managing a star rating with the StarRating widget in Yii 2

Created 2 years ago by Kartik VHow-tos4 comments – viewed 8,989 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.

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos0 comments – viewed 8,955 times – ( +3 ) – version 2.0
1. Create Extension in yii2.

Autocomplete in console command

Created 4 years ago by StammTutorials1 comment – viewed 8,918 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

Use phing to make Yii application "installable"

Created 4 years ago by sensorarioHow-tos3 comments – viewed 8,891 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

two or more different collected data in one CGridView

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

Prevent asset publishing for CListView

Created 5 years ago by MikeHow-tos2 comments – viewed 8,886 times – ( +2 ) – version 1.1
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets