Wiki

Articles tagged with "yii", sorted by date (updated)X
Displaying 1-10 of 30 result(s).

Simple example for language translation

Updated 7 days ago by CeBeHow-tos2 comments – viewed 2,662 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n

Select2 Infinite Scroll With Remote Data in Yii

Updated 7 days ago by CeBeHow-tos4 comments – viewed 1,430 times – ( +4 ) – version 1.1
I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

Add information to Yii::app()->user by extending CWebUser (better version)

Updated about a month ago by Anas AbuDayahTutorials4 comments – viewed 20,380 times – ( +5 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Yii for beginners 2

Updated 5 months ago by rackyczTutorials2 comments – viewed 28,629 times – ( +27 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Rendering Views and Updating them with Ajax

Updated 5 months ago by Manish GuptaTips4 comments – viewed 9,318 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.

Multilanguage and SEO friendly

Updated 6 months ago by InterboyHow-tos1 comment – viewed 8,056 times – ( +5 )
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

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

Updated 6 months ago by InterboyHow-tos0 comments – viewed 9,021 times – ( +4 )
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.

How to use PHPExcel external library with Yii

Updated 7 months ago by cgsmithHow-tos13 comments – viewed 52,126 times – ( +27 / -1 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Updated 8 months ago by acorncomHow-tos21 comments – viewed 26,675 times – ( +20 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

How to call a default layout for every module and how to work <php echo $content; ?>

Updated 8 months ago by Ankit ModiTips0 comments – viewed 8,261 times – ( -1 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work