Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 91-100 of 315 result(s).

simple CSV export

Created 2 years ago by bluyellHow-tos5 comments – viewed 14,454 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export

Cookie management in Yii

Created 3 years ago by TrejderHow-tos5 comments – viewed 88,974 times – ( +41 / -1 ) – version 1.1
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

Install, update and use Yii with WAMP server

Created 2 years ago by mrsHow-tos5 comments – viewed 28,971 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Load the Yii-Bootstrap Extension on Specific Actions

Created about a year ago by chuntleyHow-tos5 comments – viewed 14,902 times – ( +10 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

How to write a simple application component

Created 3 years ago by zaccariaHow-tos5 comments – viewed 39,361 times – ( +19 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Custom Autocomplete Display and Value Submission

Created 3 years ago by Antonio RamirezHow-tos5 comments – viewed 33,549 times – ( +12 / -1 ) – version 1.1
How many of us has wondered how to create an autocomplete that will display the names of a related models but do require the id of that selected name to be submitted for model creation/update?

Run Yiic directly from your app without a shell

Created 3 years ago by jacmoeHow-tos5 comments – viewed 21,350 times – ( +18 ) – version 1.1
Sometimes it would be nice if we could run yiic from an action, for example a migrate database button in our admin panel. Or because you are on a host which doesn't have shell access. Or maybe you are not allowed run popen or exec.

CPhpAuthManager - how it works, and when to use it

Created 3 years ago by dckurushinHow-tos5 comments – viewed 19,157 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file

Yii User and Rights Implementation

Created about a year ago by Rajith RHow-tos4 comments – viewed 17,859 times – ( +7 / -7 ) – version 1.1
implementing some features of yii user and rights.

"safe" and "unsafe" Model validators (massive assignments)

Created about a year ago by KonApazHow-tos4 comments – viewed 10,237 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.