Wiki

Sorted by date (updated)X
Displaying 401-410 of 469 result(s).

Impersonate Users within Yii Framework

Updated 2 years ago by WoilTutorials5 comments – viewed 9,018 times – ( +20 )
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 2 years ago by Maurizio DombaTutorials37 comments – viewed 50,153 times – ( +55 )
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 2 years ago by samdarkTips7 comments – viewed 12,110 times – ( +2 )
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 2 years ago by RusAlexTips1 comment – viewed 5,358 times
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 2 years ago by RusAlexTips0 comments – viewed 6,152 times – ( +4 )
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 2 years ago by Paul ApostolHow-tos3 comments – viewed 11,990 times – ( +12 )
Install a Wordpress site (mine is in "http://localhost/test/wordpress")

Include Yii framework in a Joomla module

Updated 2 years ago by AnupamHow-tos6 comments – viewed 13,059 times – ( +7 / -1 )
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.

htmlOptions explained for various controls.

Updated 2 years ago by WoilTips1 comment – viewed 24,611 times – ( +16 )
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

Real Time Logging

Updated 2 years ago by lucifuriousTips1 comment – viewed 12,424 times – ( +12 )
I've seen a lot of people asking about the logging facilities in Yii and thought I'd share a nice little class I wrote that provides near real-time logging.

Single sign on across multiple subdomains

Updated 2 years ago by ianarĂ©How-tos6 comments – viewed 15,625 times – ( +22 )
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.