Wiki

Sorted by viewsX
Displaying 51-60 of 728 result(s).

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 68,150 times – ( +26 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

How to set up Unicode

Created 5 years ago by MikeHow-tos10 comments – viewed 67,580 times – ( +19 ) – version 1.1
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Setting and getting systemwide static parameters

Created 4 years ago by Steve FriedlHow-tos3 comments – viewed 66,123 times – ( +11 ) – version 1.1
Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior. Yii provides for setting of static parameters in the configuration file, and this article talks about how to do it conveniently.
tags: config

How to use PHPExcel external library with Yii

Created 4 years ago by Antonio RamirezHow-tos13 comments – viewed 65,741 times – ( +29 / -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?

How to customize the error message of a validation rule

Created 5 years ago by qiangTutorials4 comments – viewed 65,262 times – ( +17 / -1 ) – version 1.1
Validators extending from CValidator all have a property named message. You can set this property in the corresponding validation rule to customize the error message. For example, the following validation rule uses an error message that is different from the default one:

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 64,672 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 4 years ago by thyseusTutorials5 comments – viewed 64,487 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Organize directories for applications with front-end and back-end

Created 5 years ago by qiangTutorials10 comments – viewed 64,479 times – ( +28 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

Working with CGridView in Admin Panel

Created 2 years ago by vibhaJadwaniTutorials18 comments – viewed 64,031 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Installing Yii Users and Rights to Newly Created Yii app

Created 2 years ago by Rajith RTutorials25 comments – viewed 63,603 times – ( +23 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.