Wiki

Displaying 551-560 of 691 result(s).

Understanding "Assets"

Created 3 years ago by Steve FriedlTutorials11 comments – viewed 111,873 times – ( +57 ) – version 1.1
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

Functional tests independing from your urlManager settings

Created 3 years ago by RusAlexTips1 comment – viewed 7,416 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:

How to use a Widget as an Action Provider

Created 3 years ago by Antonio RamirezHow-tos14 comments – viewed 30,792 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

CJuiDialog for create new model

Created 3 years ago by zaccariaTutorials44 comments – viewed 76,919 times – ( +63 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

Run an Yii Application inside an Wordpress page

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

htmlOptions explained for various controls.

Created 3 years ago by WoilTips1 comment – viewed 41,710 times – ( +17 ) – version 1.1
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:

Search method of a model for filters when using dates - unixtimestamp in database

Created 3 years ago by MukkeTips1 comment – viewed 22,270 times – ( +10 ) – version 1.1
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

javascript + tabular input

Created 3 years ago by zaccariaHow-tos4 comments – viewed 26,098 times – ( +14 / -1 ) – version 1.1
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

Real Time Logging

Created 3 years ago by lucifuriousTips3 comments – viewed 18,859 times – ( +14 ) – version 1.1
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.

How to create nice modal login widget with a CJuiDialog

Created 3 years ago by Igor IvanovicTutorials3 comments – viewed 42,106 times – ( +9 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget