Wiki

Sorted by viewsX
Displaying 61-70 of 687 result(s).

Guidelines for good schema design

Created 2 years ago by Steve FriedlTips14 comments – viewed 56,285 times – ( +139 ) – version 1.1
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Configuring controller access rules to default-deny

Created 3 years ago by Steve FriedlHow-tos3 comments – viewed 56,094 times – ( +11 ) – version 1.1
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.

How to create a breadcrumb widget

Created 5 years ago by knutTutorials4 comments – viewed 55,607 times – ( +12 ) – version 1.1
Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.

Use crypt() for password storage

Created about a year ago by fsbTutorials16 comments – viewed 54,686 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 54,590 times – ( +20 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 52,861 times – ( +15 ) – version 1.1
This is based on this article.

How to setup RBAC with a php file

Created 4 years ago by bettorHow-tos17 comments – viewed 52,091 times – ( +26 / -4 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Implementing cron jobs with Yii

Created 3 years ago by samdarkHow-tos5 comments – viewed 50,240 times – ( +30 / -1 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

How To Customize CMenu Output

Created 3 years ago by AngeloTutorials7 comments – viewed 49,685 times – ( +10 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Local time zones and locales

Created 3 years ago by Russell EnglandHow-tos9 comments – viewed 48,961 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.