Wiki

Sorted by commentsX
Displaying 311-320 of 718 result(s).

List with multiple checkbox

Created 4 years ago by matkazTutorials3 comments – viewed 25,701 times – ( +4 ) – version 1.1
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

Angular Music Database,One-page Web Application built with AngularJS,TypeScript,and Yii framework.

Created about a year ago by drumaddictOthers3 comments – viewed 16,478 times – ( +9 ) – version all
Angular Music Database

Working with radiobutton list

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 35,764 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

default csrf security and ajax post in one controller

Created 11 months ago by jasonbanTutorials3 comments – viewed 5,088 times – ( +1 / -2 ) – version 1.1
Hello Yii friends

Auto set model fields values

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 15,111 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

Directory independent extensions

Created 4 years ago by GOshaTips3 comments – viewed 8,864 times – ( +15 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

Using sub query for doubletts

Created 2 years ago by mbTips3 comments – viewed 7,933 times – ( +1 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Upload files in Yii2 with MongoDb and GridFs

Created 10 months ago by edoardo849How-tos3 comments – viewed 8,175 times – ( +7 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

"Why do I get a 403 error when trying to use Gii?"

Created 4 years ago by Steve FriedlFAQs3 comments – viewed 44,608 times – ( +7 ) – version 1.1
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

Auto TDD - How to auto-run PHPUnit

Created 3 years ago by imeheszTips3 comments – viewed 12,921 times – ( +3 / -1 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD