Wiki

Sorted by ratingX
Displaying 451-460 of 708 result(s).

Escape from Default's Yii2 Delete Confirm Box

Created 6 months ago by Antonio RamirezHow-tos4 comments – viewed 3,473 times – ( +3 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Localized version of CFormatter

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

Handling recursive deletion in Yii

Created about a year ago by JamesBarnsleyHow-tos3 comments – viewed 6,938 times – ( +3 ) – version 1.1
As a lead developer at Mutable Labs I 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 3 years ago by tydeas_drTips1 comment – viewed 13,082 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

Yii2 and Pdf files with Mpdf

Created 5 months ago by CTalaHow-tos1 comment – viewed 2,614 times – ( +3 ) – 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.

How to create a Widget - Recent Comments widget

Created 4 months ago by Nisanth thulasiHow-tos2 comments – viewed 4,398 times – ( +3 ) – version all
Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

Make the authentication more securely

Created 4 months ago by KonApazTutorials1 comment – viewed 2,270 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 about a year ago by le_topTips6 comments – viewed 9,137 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.

Creating a Dependent Dropdown From Scratch in Yii2

Created 4 months ago by ThePr0f3550rHow-tos1 comment – viewed 5,393 times – ( +3 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,621 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: