Sorted by date (updated)X
Displaying 681-690 of 750 result(s).

CGridView and AjaxForm Connect

Updated 4 years ago by PinkBrainPlanHow-tos2 comments – viewed 19,079 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

How to use Smarty renderer in Yii

Updated 4 years ago by dongbetaHow-tos2 comments – viewed 17,616 times – ( +4 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

URL component access functions

Updated 4 years ago by Steve FriedlTips1 comment – viewed 11,272 times – ( +28 ) – version 1.1
Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.
tags: URL, request

Use different environments (development, production, etc) in your app with EASY Environment Class

Updated 4 years ago by marcovtwoutTutorials6 comments – viewed 26,708 times – ( +7 ) – version 1.1
Info: An extension was created based on this wiki page. See:

Impersonate Users within Yii Framework

Updated 4 years ago by WoilTutorials6 comments – viewed 13,849 times – ( +22 ) – version 1.1
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

CJuiDialog for create new model

Updated 4 years ago by Maurizio Domba CerinTutorials53 comments – viewed 85,556 times – ( +67 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Updated 4 years ago by samdarkTips7 comments – viewed 15,752 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Functional tests independing from your urlManager settings

Updated 4 years ago by RusAlexTips1 comment – viewed 8,009 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

Preventing CJuiTabs from hiding drop-down CMenu items

Updated 4 years ago by RusAlexTips1 comment – viewed 9,174 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

Run an Yii Application inside an Wordpress page

Updated 4 years ago by Paul ApostolHow-tos3 comments – viewed 21,236 times – ( +12 ) – version 1.1
Install a Wordpress site (mine is in "http://localhost/test/wordpress")