Wiki

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

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

Created 3 years ago by Antonio RamirezHow-tos2 comments – viewed 15,351 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.

Alternative folder structure for a standard Yii app

Created 4 years ago by TrejderHow-tos4 comments – viewed 15,261 times – ( +5 / -1 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.

free PHP IDE CodeLobster supports Yii framework

Created 6 years ago by clodTutorials0 comments – viewed 15,261 times – ( +5 / -1 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.

How to create/update a model with its related items using Listbox or CheckboxList

Created about a year ago by softarkTutorials1 comment – viewed 15,191 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.

How to create a wrapper for a js library

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

default csrf security and ajax post in one controller

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

adding class and links to Ctreeview node

Created 6 years ago by bingjie2680Tips2 comments – viewed 15,119 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

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

Created 2 years ago by robregonmHow-tos2 comments – viewed 15,105 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.

Model validation for field ranges using yii2-field-range extension

Created 3 years ago by Kartik VTips0 comments – viewed 14,732 times – ( +39 / -1 ) – version 2.0
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

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

Created 5 years ago by Xgamer99Tips3 comments – viewed 14,727 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.