Wiki

Sorted by date (updated)X
Displaying 451-460 of 719 result(s).

Simple way to use AutoComplete using different ID and Display Value

Updated 2 years ago by raheelk2kTutorials4 comments – viewed 19,006 times – ( +9 ) – version 1.1
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

Extending CJuiDialog

Updated 2 years ago by Maurizio Domba CerinHow-tos0 comments – viewed 8,836 times – ( +2 / -2 ) – version 1.1
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

Yii behind a reverse proxy, SSL support and correct IP logging

Updated 2 years ago by mrkmgTips0 comments – viewed 4,397 times – version 1.1
If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

Using CAutoComplete to display one value and submit another

Updated 2 years ago by mohammad sharif ahrariTutorials5 comments – viewed 44,304 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

How to render a view in Fancybox using ajax

Updated 2 years ago by 张 迪How-tos1 comment – viewed 18,268 times – ( +7 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Serve jQuery and jQuery-UI from Google's CDN

Updated 2 years ago by fadTutorials15 comments – viewed 22,542 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

How to setup CKeditor

Updated 2 years ago by Dark-SunTutorials4 comments – viewed 17,038 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

How to create front and admin side login form

Updated 2 years ago by vibhaJadwaniHow-tos7 comments – viewed 52,674 times – ( +6 ) – version 1.1
In this WIKI you can learn how to create front and admin login form, using database.

Working with CGridView in Admin Panel

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

Auto set model fields values

Updated 2 years ago by vibhaJadwaniTutorials3 comments – viewed 15,123 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.