Wiki

Sorted by ratingX
Displaying 461-470 of 786 result(s).

Book Has Author - Many to Many relations using Kartik\Select2

Created 3 years ago by thiagoc7How-tos2 comments – viewed 16,497 times – ( +4 / -1 ) – version 2.0
I could make this work following same useful tips from this post.

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

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

adding class and links to Ctreeview node

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

Google style sign out of all other sessions

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 9,772 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

Cron Jobs in Yii

Created 4 years ago by aarondfrancisHow-tos1 comment – viewed 24,240 times – ( +4 / -1 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Send asset folder path to a javascript of a widget

Created 6 years ago by sensorarioTips4 comments – viewed 24,573 times – ( +4 / -1 ) – version 1.1
When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

embedded javascript block in your view with IDE checking or intellisense

Created 3 years ago by yiqing95Tips0 comments – viewed 6,278 times – ( +4 / -1 ) – version 2.0
this is my way for embed js code block in view file:

how to use github (un)official extension repo in your Yii project

Created 6 years ago by RusAlexTips4 comments – viewed 9,338 times – ( +4 / -1 ) – version 1.1
Using a git submodule command in your yii project

Moving the vendor directory for multiple projects

Created 3 years ago by mariosimaremareHow-tos2 comments – viewed 15,182 times – ( +5 / -2 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Customizing the CMenu Widget

Created 4 years ago by mistrybTips1 comment – viewed 53,346 times – ( +5 / -2 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.