Wiki

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

adding class and links to Ctreeview node

Created 3 years ago by bingjie2680Tips2 comments – viewed 11,222 times – ( +4 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

The MrFisk IRC Bot

Created about a year ago by rAWTAZOthers0 comments – viewed 11,198 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

Caching the config main.php

Created 2 years ago by dckurushinTutorials11 comments – viewed 11,164 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!

Rendering Views and Updating them with Ajax

Created 8 months ago by Manish GuptaTips4 comments – viewed 11,119 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.

More security in your applications with Yii and PHPIDS

Created 3 years ago by Rafael GarciaHow-tos1 comment – viewed 11,075 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 9 months ago by InterboyHow-tos0 comments – viewed 11,018 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Popup AJAX DialogBox without any extension

Created about a year ago by KonApazHow-tos6 comments – viewed 11,016 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

i18n for your model in just 1 line

Created 4 years ago by mintaoTutorials0 comments – viewed 10,942 times – ( +12 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 2 years ago by jpabloHow-tos2 comments – viewed 10,909 times – ( +1 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

Multiple Database Connection : Select database based on login user id, Dynamic

Created 11 months ago by Rajith RHow-tos3 comments – viewed 10,899 times – ( +9 / -6 )
create a class file under protected\components named RActiveRecord.php