Sorted by viewsX
Displaying 461-470 of 779 result(s).

How to create a wrapper for a js library

Created 5 years ago by zaccariaHow-tos2 comments – viewed 14,065 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 implement form events

Created 2 years ago by Antonio RamirezHow-tos4 comments – viewed 14,060 times – ( +6 ) – version 2.0
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.
tags: yii2, forms, how to

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 14,050 times – ( +4 ) – version all

Update CGridview row separately using ajax request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos9 comments – viewed 14,036 times – ( +7 ) – version 1.1
There are cases you want to update a record on CGridview directly

How to use bizRules in standard accessControl filter

Created 3 years ago by Maciej LiżewskiHow-tos8 comments – viewed 14,029 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.

Add model validator in Controller

Created 2 years ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 14,023 times – ( +1 / -1 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

Create image thumbnails with php_img_preview

Created 4 years ago by Anas AbuDayahTutorials6 comments – viewed 13,983 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

Login Form With email or Whatever

Created 2 years ago by nabil abdoualiHow-tos1 comment – viewed 13,934 times – ( -2 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

三步使用cronjobs自动化去执行Yii 控制台任务

Created 5 years ago by Darwin WenTutorials0 comments – viewed 13,897 times – ( +1 / -4 ) – version 1.1
这篇文章将介绍使用Linux cronjobs去自动化执行Yii Console Application(控制台)任务,像每天晚上执行缓存清理,临时文件清理,发送邮件,网站备份等等,重复的工作都交给服务器后台去完成,Yii本身已经提供了强大的支持,我们所做的工作就很少,当使用yiic webapp 自动生成工程结构时,强大的Yii已经全部帮我们生成好,仅仅只需三步。

Yii2 and Pdf files with Mpdf

Created 2 years ago by CTalaHow-tos2 comments – viewed 13,848 times – ( +7 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.