Wiki

Sorted by viewsX
Displaying 451-460 of 771 result(s).

How to create a wrapper for a js library

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

Simple Way to Upload and Save File

Created about a year ago by Misbahul D MunirTutorials0 comments – viewed 13,656 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

How to use bizRules in standard accessControl filter

Created 2 years ago by Maciej Li┼╝ewskiHow-tos8 comments – viewed 13,587 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.

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created about a year ago by Gerhard LiebenbergHow-tos6 comments – viewed 13,523 times – version 1.1
I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.

Create image thumbnails with php_img_preview

Created 3 years ago by Anas AbuDayahTutorials6 comments – viewed 13,507 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

How to create the custom Drop-down using CHtml::dropDownList

Created about a year ago by Ankit ModiHow-tos1 comment – viewed 13,502 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

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

Created 5 years ago by dinhtrungTips2 comments – viewed 13,417 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 5 years ago by Rafael GarciaHow-tos1 comment – viewed 13,371 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

Remove Byte Order Mark (BOM) from files recursively

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 13,290 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

How to create a simple logout link in the view?

Created 2 years ago by mi.sarahHow-tos0 comments – viewed 13,045 times – ( +1 / -3 ) – version 1.1
Here you learn to create and set a simple ahref-link to logout the current user.
tags: Logout, Link, user, URL, views