Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 151-160 of 354 result(s).

Integrating Wordpress and Yii,Working Out The Details.

Created 4 years ago by drumaddictHow-tos4 comments – viewed 22,807 times – ( +8 ) – version 1.1
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

A Multi-Tenant Strategy using Yii and MySQL

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

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created 2 years ago by hrnairHow-tos2 comments – viewed 22,242 times – ( +7 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

Cron Jobs in Yii

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

defaultScope

Created 3 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 21,801 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().

multiple CActiveDataProviders in one CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos7 comments – viewed 21,539 times – ( +8 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Image resize on the fly

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

Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

Created 2 years ago by Deepak PradhanHow-tos1 comment – viewed 21,415 times – version 2.0
This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template

Show captcha after <N> unsuccessfull attempts

Created 4 years ago by zitterHow-tos7 comments – viewed 21,240 times – ( +15 / -5 ) – 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).

CGridView and AjaxForm Connect

Created 6 years ago by PinkBrainPlanHow-tos2 comments – viewed 21,098 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView