Wiki

Sorted by ratingX
Displaying 111-120 of 467 result(s).

Run Yiic directly from your app without a shell

Created about a year ago by jacmoeHow-tos5 comments – viewed 11,101 times – ( +15 )
Sometimes it would be nice if we could run yiic from an action, for example a migrate database button in our admin panel. Or because you are on a host which doesn't have shell access. Or maybe you are not allowed run popen or exec.

How to use PHPExcel external library with Yii

Created 2 years ago by Antonio RamirezHow-tos12 comments – viewed 34,241 times – ( +22 / -1 )
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?
tags: yii, libraries

Moving project code outside of webroot (plus multiple project support)

Created 2 years ago by Steve FriedlHow-tos5 comments – viewed 24,150 times – ( +22 / -1 )
Yii's by-default directory organization works well enough, but there are several steps one can take that improve the security and serviceability of the system, especially in the context of multiple Yii projects on the same machine (including multiple versions of the same project).
tags: config, security

Adding search to Yii blog example (using Zend Lucene)

Created about a year ago by dckurushinTutorials15 comments – viewed 33,406 times – ( +28 / -2 )
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

How to display static pages in Yii?

Created 4 years ago by qiangTutorials2 comments – viewed 26,054 times – ( +14 )
In a Web application, we often need to display pages like "about this site", "legal information", whose content are mostly static. There are several approaches to deal with this kind of pages.
tags: static pages

Secure password hash storage and a Yii helper extension

Created about a year ago by fsbTutorials5 comments – viewed 16,789 times – ( +14 )
This article was rewritten as the README of the Randomness GitHub repo

Manage application configuration in different modes

Created 4 years ago by qiangTutorials4 comments – viewed 20,851 times – ( +14 )
Info: This tutorial references the idea presented in Jonah's excellent blog article.

AssetManager: clearing browser's cache on site update

Created about a year ago by dhampikHow-tos2 comments – viewed 12,119 times – ( +14 )
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Module based login

Created 2 years ago by suriyansureshTutorials6 comments – viewed 32,391 times – ( +14 )
If you want to add module based login to a site without using RBAC, please follow these guidelines.

CListView AJAX filtering

Created 2 years ago by DragaTutorials14 comments – viewed 28,213 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list