Wiki

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

Using search engine and user friendly URLs

Created 5 years ago by qiangTutorials7 comments – viewed 62,899 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

Configuring controller access rules to default-deny

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

Adding search to Yii blog example (using Zend Lucene)

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

Guidelines for good schema design

Created 3 years ago by Steve FriedlTips15 comments – viewed 61,860 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.

How to create a breadcrumb widget

Created 5 years ago by knutTutorials4 comments – viewed 59,684 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 57,207 times – ( +15 ) – version 1.1
This is based on this article.

Creating a parameterized LIKE query

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

Implementing cron jobs with Yii

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

An Easy Solution for Dependent dropDownList Using AJAX

Created 2 years ago by mrsTips10 comments – viewed 55,675 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.