Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 161-170 of 172 result(s).

Simple access control

Created 11 months ago by szfjozsefTutorials4 comments – viewed 14,094 times – ( +2 / -6 )
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Htaccess .. SEO Friendly Url

Created 5 months ago by manoj20Tutorials4 comments – viewed 5,286 times – ( +2 / -7 )
hello firend if u need a SEO friendly URL
tags: yii

Email function at Contact page

Created 2 months ago by sarthakTutorials1 comment – viewed 2,290 times – ( +1 / -3 )
***note : only for linux users.
tags: email, contact, ssmtp

三步使用cronjobs自动化去执行Yii 控制台任务

Created about a year ago by Darwin WenTutorials0 comments – viewed 4,450 times – ( +1 / -4 )
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

To configure Yii path in Windows platform

Created 2 years ago by CodaTutorials2 comments – viewed 16,690 times – ( +1 / -6 )
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

First Yii App: CTabView

Created 4 years ago by meanpenguinTutorials1 comment – viewed 13,856 times – ( -2 )
Once you are completed with the "Creating First Yii Application", the following can be done.

Q: My yiic tool cannot run model and crud commands. Why?

Created 4 years ago by qiangTutorials1 comment – viewed 5,102 times
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

How to make customizable Db Table prefixes using ActiveRecord

Created 3 years ago by killermonkTutorials0 comments – viewed 7,718 times
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

Named scope - Get orphan AR without losing primary key

Created 2 years ago by cmaTutorials0 comments – viewed 3,883 times
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

Cambiando el diseño de JuiWidgets

Created 2 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 5,976 times
Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.