Wiki

Sorted by viewsX
Displaying 351-360 of 771 result(s).

Cron Jobs in Yii

Created 3 years ago by aarondfrancisHow-tos1 comment – viewed 19,969 times – ( +4 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 19,954 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Configuring different sessions for backend and frontend in Yii advanced app

Created 2 years ago by Kartik VHow-tos2 comments – viewed 19,851 times – ( +46 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

Image resize on the fly

Created 3 years ago by TpoxaHow-tos4 comments – viewed 19,811 times – ( +4 ) – version 1.1
For example have folder with image resources which are public accessible
tags: yii, image-resize

A Multi-Tenant Strategy using Yii and MySQL

Created 2 years ago by JFReyesHow-tos9 comments – viewed 19,716 times – ( +10 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

Two Login in same form in Yii application , with two tables

Created 2 years ago by BaluTutorials6 comments – viewed 19,632 times – ( +4 / -7 ) – version 1.1
login links will be

First Yii App: CTabView

Created 7 years ago by meanpenguinTutorials1 comment – viewed 19,507 times – ( -2 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.

defaultScope

Created 3 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 19,488 times – ( +5 / -1 ) – version 1.1
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().

Show captcha after <N> unsuccessfull attempts

Created 4 years ago by zitterHow-tos7 comments – viewed 19,474 times – ( +15 / -4 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

Using cache in CActiveDataProvider

Created 4 years ago by StammTips7 comments – viewed 19,303 times – ( +21 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.