Wiki

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

Using search engine and user friendly URLs

Created 5 years ago by qiangTutorials7 comments – viewed 63,626 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 63,233 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 62,952 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 62,845 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 5 years ago by knutTutorials4 comments – viewed 60,295 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.

Creating a parameterized LIKE query

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

Update/delete model with CJuiDialog (works in CGridView)

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

Implementing cron jobs with Yii

Created 4 years ago by samdarkHow-tos6 comments – viewed 57,386 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 57,256 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.