Wiki

Sorted by viewsX
Displaying 471-480 of 785 result(s).

How to create a wrapper for a js library

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

How to use bizRules in standard accessControl filter

Created 3 years ago by Maciej Li┼╝ewskiHow-tos8 comments – viewed 14,341 times – ( +3 ) – 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.

Install specific Yii2 vendor extension & dependency without updating other packages.

Created 2 years ago by Kartik VTips0 comments – viewed 14,319 times – ( +40 / -6 ) – version 2.0
The tips here are for advanced usages of composer and its assumed you have read about using composer and have a knowledge of your vendor packages to be updated. Let's consider, you want to update only one specific yii2 vendor library, without updating all the other extension packages?

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 2 years ago by Kartik VTips2 comments – viewed 14,241 times – ( +48 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Installation guide: Yii-2 advanced template with RBAC system

Created 5 months ago by Sherin JoseTutorials0 comments – viewed 14,164 times – ( +10 / -1 ) – version 2.0
Welcome, all of you !
tags: install, yii2, rbac

checkBox in CGridview

Created 2 years ago by n-rOthers0 comments – viewed 14,048 times – ( +1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

How to pass the third parameter to UserIdentity on login authentication

Created 2 years ago by Rohit SutharHow-tos6 comments – viewed 13,921 times – ( +2 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

How to "masquerade" a non-required form element as 'required' one (in the view only)

Created 4 years ago by BoazHow-tos2 comments – viewed 13,878 times – ( +7 / -1 ) – version 1.1
In a nutshell, the task at hand is to mark (or render) a model attribute in the typical "_form.php" view file with the 'required' red asterisk while this attribute is not marked as required in the model's rule() method. If you're interested only in the solution, jump ahead to the 'solution' section below.

Using MBMenu and Rights to automatically create menu item for your modules

Created 5 years ago by dinhtrungTips2 comments – viewed 13,849 times – ( +1 / -1 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

More security in your applications with Yii and PHPIDS

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