Showing 801-820 of 827 items.

Using CAutoComplete to display one value and submit another

Created 17 years ago by luoshiben luoshiben, updated 14 years ago by mohammad sharif ahrari mohammad sharif ahrari. 5 comments

Have you ever wanted to use an auto-complete field to look up a user or some other data, but want the database ID of that user or data returned as well so that you can more easily perform some function when the form is submitted? Thanks to Yii's CAutoComplete widget and [jQuery's Autocomplete plugin](http://plugins.jquery.com/project/jq-autocomp...

7 3
11
Viewed: 74 139 times
Version: 1.1
Category: Tutorials

How to create a breadcrumb widget

Created 17 years ago by knut knut, updated 14 years ago by Yang He Yang He. 4 comments

Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.

10 0
11
Viewed: 89 997 times
Version: 1.1
Category: Tutorials

    How to set up Unicode

    Created 17 years ago by Mike Mike, updated 13 years ago by Roman Solomatin Roman Solomatin. 10 comments

    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.

    19 0
    14
    Viewed: 151 792 times
    Version: 1.1
    Category: How-tos

    How to use Highslide for image popups

    Created 17 years ago by mocapapa mocapapa, updated 15 years ago by wei wei. 0 comments

    >Highslide JS is an open source JavaScript software, offering a Web 2.0 approach to popup windows. It streamlines the use of thumbnail images and HTML popups on web pages. > > + No plugins like Flash or Java required. > + Popup blockers are no problem. The content expands within the active browser window. > + Single click. After opening the image or HTML popup, the user can scroll further down...

    1 0
    2
    Viewed: 36 792 times
    Version: 1.1
    Category: Tutorials

    How to log changes of ActiveRecords?

    Created 17 years ago by pfth pfth, updated 14 years ago by Yang He Yang He. 7 comments

    A simple and effective way to keep track what your users are doing within your application is to log their activities related to database modifications. You can log whenever a record was inserted, changed or deleted, and also when and by which user this was done. For a [CActiveRecord] Model you could use a behavior for this purpose. This way you will be able to add log functionality to ActiveRecor...

    31 1
    47
    Viewed: 84 572 times
    Version: 1.1
    Category: Tutorials