Wiki

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

Catching bounce messages (NDR) and piping them to a Yii command

Created 8 months ago by bennounaTutorials0 comments – viewed 3,209 times – ( +1 )
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Upload Files to Rackspace Cloud Files CDN

Created 3 months ago by StephenMiracleTutorials0 comments – viewed 2,780 times – ( +1 )
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

How to make use of a fragment cache

Created 4 years ago by dalipTutorials0 comments – viewed 5,418 times – ( +1 )
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,249 times – ( +1 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

How to add an analogue clock widget on your skeleton application

Created 2 years ago by mocapapaTutorials0 comments – viewed 4,658 times – ( +1 )
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

Yii tinymce结合syntaxHighlighter和syntax

Created 2 years ago by Darwin WenTutorials0 comments – viewed 4,945 times – ( +1 )
首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,

AutoTimestampBehavior

Created 4 years ago by jonahTutorials1 comment – viewed 7,486 times – ( +2 / -2 )
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Define general array and variable and call it to anywhere in application

Created 4 months ago by bhavesh vaghelaTutorials2 comments – viewed 2,643 times – ( +2 / -4 )
Create param.php file in protected/config

embed a view file of the class which implement the CAction.

Created 2 years ago by DavidhhuanTutorials1 comment – viewed 4,984 times – ( +1 / -1 )
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

Disable login page if user is logged in

Created 15 days ago by freezingbananaTutorials1 comment – viewed 2,447 times – ( +3 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.