Wiki

Sorted by viewsX
Displaying 151-160 of 687 result(s).

Filter / Search with CListView

Created 2 years ago by JohnPollardHow-tos7 comments – viewed 29,709 times – ( +25 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

How to use a Widget as an Action Provider

Created 3 years ago by Antonio RamirezHow-tos14 comments – viewed 29,566 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

Black Bootstrap - Bootstrap theme for YII Framework

Created 10 months ago by nachiOthers2 comments – viewed 29,336 times – ( +6 )
I have created a theme using bootstrap for YII Framework. The theme includes breadcrumbs, form, notification, sidebar view etc.
tags: themes, bootstrap

Multiple Databases and Multiple Domains

Created 3 years ago by got 2 doodleTutorials2 comments – viewed 29,268 times – ( +14 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Use application on production/development environment without making changes

Created 2 years ago by ifdatticTips3 comments – viewed 29,030 times – ( +8 / -1 ) – version 1.1
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

Manage application configuration in different modes

Created 5 years ago by qiangTutorials5 comments – viewed 28,949 times – ( +15 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

Simplified meta tags

Created 4 years ago by Y!!Tutorials4 comments – viewed 28,728 times – ( +13 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

CKEditor Integration (includes steps for file uploads) - Step by Step

Created about a year ago by shulmeHow-tos10 comments – viewed 28,643 times – ( +23 ) – version 1.1
Hey guys, I'm hoping other people will find this helpful. Today I went through the process of adding CKEditor to one of my projects, and then integrating KCFinder as the image uploader. It will be used in a CActiveForm, without the use of any crazy weird widgets. All paths are relative, using Yii functions, so this will work no matter where you install. Here it is:

Creating a jQueryUI Sortable CGridView

Created 2 years ago by blindMoeHow-tos22 comments – viewed 28,545 times – ( +43 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

Actions code reuse with CAction

Created 3 years ago by Antonio RamirezHow-tos13 comments – viewed 28,421 times – ( +35 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial