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

default csrf security and ajax post in one controller

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

Using SQLite and CDbMessageSource as a module

Created 5 years ago by pheadeauxHow-tos5 comments – viewed 16,072 times – ( +5 / -1 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

How to use bizRules in standard accessControl filter

Created 4 years ago by Maciej LiżewskiHow-tos8 comments – viewed 15,871 times – ( +3 / -1 ) – version 1.1
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

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

Created 3 years ago by Kartik VTips0 comments – viewed 15,854 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.

CJuiTabs Content

Created 5 years ago by mbalaTips3 comments – viewed 15,840 times – ( +6 / -1 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Alternative folder structure for a standard Yii app

Created 4 years ago by TrejderHow-tos4 comments – viewed 15,743 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.

Load data from internal/external source to fill form fields

Created 2 years ago by skwordenHow-tos4 comments – viewed 15,713 times – ( +1 / -1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

How to get & store Last Login DateTime in database?

Created 3 years ago by Rohit SutharHow-tos2 comments – viewed 15,570 times – ( +7 / -1 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

free PHP IDE CodeLobster supports Yii framework

Created 6 years ago by clodTutorials0 comments – viewed 15,548 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 a wrapper for a js library

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