Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 191-200 of 253 result(s).

How to use bizRules in standard accessControl filter

Created 9 months ago by redguyHow-tos8 comments – viewed 6,401 times – ( +3 )
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

How-To: Create Token Authenticated Web Services

Created 3 months ago by hemcHow-tos1 comment – viewed 6,301 times – ( +7 ) – version 1.1
This article is about implementing authentication to Yii based web services.

Update a part of content using AJAX when select a GridView row

Created 4 months ago by KonApazHow-tos2 comments – viewed 6,275 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

Mais segurança em suas aplicações com Yii e PHPIDS

Created 3 years ago by Rafael GarciaHow-tos0 comments – viewed 6,203 times – ( +2 / -1 ) – version 1.1
PHPIDS é conhecido projeto que pode ser visto em php-ids.org.
tags: phpids, security

Turn Web HTML Into Newsletter

Created about a year ago by yasenHow-tos1 comment – viewed 6,200 times – ( +7 ) – 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.

Publish yii webapp using Git push

Created about a year ago by rootbearHow-tos6 comments – viewed 6,112 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

Adding Bash Command Completion for Yii Commands

Created about a year ago by Dustin OpreaHow-tos0 comments – viewed 5,905 times – ( +3 ) – version 1.1
This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

Handling recursive deletion in Yii

Created about a year ago by JamesBarnsleyHow-tos3 comments – viewed 5,897 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I 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.

Implementing a Flat User Access System

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

Building Page Specific Menus using CMenu

Created 9 months ago by mistrybHow-tos1 comment – viewed 5,821 times
The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.
tags: CMenu