Wiki

Sorted by ratingX
Displaying 321-330 of 708 result(s).

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 5,918 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Multilanguage web site controlling by get request and database allowed languages

Created 3 years ago by Igor IvanovicTutorials2 comments – viewed 17,311 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 10,498 times – ( +6 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

How to get & store Last Login DateTime in database?

Created 2 months ago by Rohit SutharHow-tos2 comments – viewed 2,726 times – ( +6 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Ember.js with Yii REST backend,demo application

Created 2 years ago by drumaddictOthers4 comments – viewed 23,608 times – ( +9 / -1 ) – version 1.1
Ember with Yii REST backend,demo application.

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 3 years ago by Revelis Luc BonninHow-tos1 comment – viewed 21,210 times – ( +9 / -1 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

How to use Multiple instances of the same model in the same form

Created 2 years ago by kiran sharmaHow-tos20 comments – viewed 29,487 times – ( +20 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created about a year ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 15,416 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Insert a multirow header in CGridView

Created about a year ago by PeppeHow-tos2 comments – viewed 9,277 times – ( +5 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

using editors of yiibooster - fix issues - configuration

Created about a year ago by KonApazHow-tos0 comments – viewed 5,035 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.