Wiki

Sorted by ratingX
Displaying 481-490 of 770 result(s).

Yii2 default values for Index data Provider

Created 2 years ago by CTalaTips2 comments – viewed 10,411 times – ( +3 ) – version 2.0
Guys,

Localized version of CFormatter

Created 3 years ago by marcovtwoutHow-tos2 comments – viewed 4,769 times – ( +3 ) – version 1.1
Since Yii 1.1.14, a CLocalizedFormatter is available.

TimeZone dropDown

Created 3 years ago by Tibor KatelbachHow-tos0 comments – viewed 8,019 times – ( +3 ) – version 1.1
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Handling recursive deletion in Yii

Created 3 years ago by JamesBarnsleyHow-tos3 comments – viewed 8,923 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

A simple action for XUpload extension

Created 5 years ago by tydeas_drTips1 comment – viewed 14,873 times – ( +3 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

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

Created about a year ago by thiagoc7How-tos2 comments – viewed 11,155 times – ( +3 ) – 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 about a year ago by Antonio RamirezHow-tos1 comment – viewed 8,774 times – ( +3 ) – 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.

Make the authentication more securely

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials1 comment – viewed 5,091 times – ( +3 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

Adding a link to a CDataColumn

Created 3 years ago by le_topTips6 comments – viewed 13,956 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

CjuiDatepicker

Created 3 years ago by hiral darjiTips1 comment – viewed 7,078 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array: