Adding HTTP compression to your application could never have been easier!
Adding HTTP compression to your application could never have been easier!
After adding proper form to the main layout, like:
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.
This little tutorial explains a way how you can retrieve more parameters from Yii::app()->user by adding a component that extends CWebUser and retrieves the user information from database table named User.
Below I have created an Html helper with methods to help me locate directories of my assets dynamically. Such assets may include CSS, JavaScript and images.
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obs...
I had some troubles with the password confirmation field for when adding updating user records, so i thought that i should share the way i got it working.
The easiest way to update content in AJAX is to use the renderPartial method.
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.
Next to do is to download the Yii FCKeditor extension, created by Ascomae. Extract the downloaded file, and place the fckeditor/ widget folder in your web applications protected/extensions/ directory.
In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $...
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.
This is a tutorial for how to auto set model values without any code.
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.
In this WIKI you can learn how to create front and admin login form, using database.