Wiki

Sorted by viewsX
Displaying 491-500 of 786 result(s).

How to create a wrapper for a js library

Created 6 years ago by zaccariaHow-tos2 comments – viewed 15,079 times – ( +16 / -2 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created 2 years ago by Scott_HuangHow-tos1 comment – viewed 15,044 times – ( +5 / -1 ) – version 2.0
1. Create Extension in yii2.

adding class and links to Ctreeview node

Created 6 years ago by bingjie2680Tips2 comments – viewed 15,024 times – ( +4 / -1 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 3 years ago by Antonio RamirezHow-tos2 comments – viewed 15,010 times – ( +4 / -1 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 14,970 times – ( +2 / -2 ) – version 2.0
This tutorial is explained following "basic" application structure.

default csrf security and ajax post in one controller

Created 3 years ago by jasonbanTutorials3 comments – viewed 14,869 times – ( +1 / -4 ) – version 1.1
Hello Yii friends

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 2 years ago by robregonmHow-tos2 comments – viewed 14,731 times – ( +11 / -2 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 4 years ago by Xgamer99Tips3 comments – viewed 14,592 times – ( +1 / -1 ) – version 1.1
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

More security in your applications with Yii and PHPIDS

Created 6 years ago by Rafael GarciaHow-tos1 comment – viewed 14,545 times – ( +8 / -1 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 4 years ago by sebTips0 comments – viewed 14,544 times – ( +1 / -2 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test