Wiki

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

Configuring controller access rules to default-deny

Created 4 years ago by Steve FriedlHow-tos3 comments – viewed 64,962 times – ( +12 ) – 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.

Using search engine and user friendly URLs

Created 5 years ago by qiangTutorials7 comments – viewed 64,746 times – ( +23 / -1 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Guidelines for good schema design

Created 3 years ago by Steve FriedlTips14 comments – viewed 64,590 times – ( +142 ) – 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.

Adding search to Yii blog example (using Zend Lucene)

Created 3 years ago by dckurushinTutorials21 comments – viewed 63,837 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.

How to create a breadcrumb widget

Created 6 years ago by knutTutorials4 comments – viewed 61,168 times – ( +13 ) – 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.

Creating a parameterized LIKE query

Created 3 years ago by Steve FriedlFAQs6 comments – viewed 61,022 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 60,126 times – ( +6 / -3 ) – version 1.1
We start slowly and simple...

An Easy Solution for Dependent dropDownList Using AJAX

Created 2 years ago by mrsTips10 comments – viewed 59,593 times – ( +13 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Implementing cron jobs with Yii

Created 4 years ago by samdarkHow-tos6 comments – viewed 59,211 times – ( +30 / -1 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Update/delete model with CJuiDialog (works in CGridView)

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