Wiki

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

Adding search to Yii blog example (using Zend Lucene)

Created 3 years ago by dckurushinTutorials21 comments – viewed 59,287 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 59,199 times – ( +22 / -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.

Configuring controller access rules to default-deny

Created 3 years ago by Steve FriedlHow-tos3 comments – viewed 59,053 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.

Guidelines for good schema design

Created 3 years ago by Steve FriedlTips15 comments – viewed 58,745 times – ( +141 ) – 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.

How to create a breadcrumb widget

Created 5 years ago by knutTutorials4 comments – viewed 57,560 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.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 54,964 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 53,643 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 4 years ago by samdarkHow-tos6 comments – viewed 53,061 times – ( +30 / -1 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Creating a parameterized LIKE query

Created 3 years ago by Steve FriedlFAQs6 comments – viewed 52,424 times – ( +22 ) – version 1.1
It's common to see users wishing to make substring DB queries, using the % metacharacter used to match anything; in this FAQ we'll search the tbl_comments table from the blog tutorial hoping to find the text in $match in the content column

Creating and updating model and its related models in one form, inc. image

Created 2 years ago by BoazHow-tos10 comments – viewed 51,809 times – ( +5 / -3 ) – version 1.1
We start slowly and simple...