Wiki

Sorted by ratingX
Displaying 381-390 of 747 result(s).

How to write a simple application component

Created 4 years ago by zaccariaHow-tos5 comments – viewed 44,609 times – ( +20 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Update two models with one view

Created 3 years ago by sensorarioTips11 comments – viewed 34,470 times – ( +10 / -2 ) – version 1.1
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
tags: database, model, view, form

Add Beautiful Radio/Checkbox Buttons To Grid

Created about a year ago by waterloomattHow-tos1 comment – viewed 17,466 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos4 comments – viewed 322,508 times – ( +10 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 58,963 times – ( +10 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Simple Mail Queue

Created about a year ago by waterloomattTutorials3 comments – viewed 10,365 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

Show captcha after <N> unsuccessfull attempts

Created 2 years ago by zitterHow-tos7 comments – viewed 16,241 times – ( +14 / -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).

multiple CActiveDataProviders in one CGridView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 14,586 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

How to use Expression in default AccessControl to allow only the owner to do some action

Created about a year ago by whatifHow-tos2 comments – viewed 22,245 times – ( +7 / -1 ) – version 1.1
Hi Everyone

get summary of related model via STAT relation

Created about a year ago by rootbearHow-tos2 comments – viewed 10,517 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.