Wiki

Sorted by viewsX
Displaying 331-340 of 719 result(s).

Cron Jobs in Yii

Created about a year ago by aarondfrancisHow-tos1 comment – viewed 14,338 times – ( +4 )
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Rendering Views and Updating them with Ajax

Created about a year ago by Manish GuptaTips4 comments – viewed 14,309 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

pass variables or content block from view file to layout file

Created 2 years ago by yiqing95How-tos0 comments – viewed 14,278 times – ( +2 ) – version 1.1
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

Image resize on the fly

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

Email template functionality with manage content from database

Created about a year ago by kiran sharmaTutorials5 comments – viewed 14,180 times – ( +5 / -3 ) – version 1.1
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
tags: email, template

Checking for "expired" sessions/logins on the client side

Created about a year ago by le_topHow-tos0 comments – viewed 14,139 times – ( +5 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Yiinitializr: The Library

Created about a year ago by Antonio RamirezOthers9 comments – viewed 14,099 times – ( +15 ) – version 1.1
Introduction

Code style

Created 4 years ago by zaccariaTips2 comments – viewed 14,080 times – ( +29 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

How to use the official Yii installer for Composer (**DEPRECATED**)

Created about a year ago by br0skHow-tos9 comments – viewed 14,019 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

The MrFisk IRC Bot

Created 2 years ago by rAWTAZOthers0 comments – viewed 13,997 times – ( +5 ) – version 1.1
MrFisk is a sleek little bot hanging out in the official #yii IRC channel on freenode, meant to serve Yii users with documentation lookups and other things. This document intends to provide a summary of what MrFisk can do for you and how to use his fin^H^Heatures.
tags: MrFisk, YiiBot, IRC, bot