Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 131-140 of 336 result(s).

CGridView keep state of page and sort.

Created 2 years ago by DanielHow-tos5 comments – viewed 21,637 times – ( +6 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Yii CGridView add custom button

Created about a year ago by Arockia JohnsonHow-tos1 comment – viewed 20,223 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

How to create front and admin side login form

Created 2 years ago by vibhaJadwaniHow-tos7 comments – viewed 56,277 times – ( +6 ) – version 1.1
In this WIKI you can learn how to create front and admin login form, using database.

YouTube API v2.0 – Browser-based Uploading

Created 2 years ago by VaibhavHow-tos1 comment – viewed 11,778 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

Escape from Default's Yii2 Delete Confirm Box

Created 11 months ago by Antonio RamirezHow-tos8 comments – viewed 6,548 times – ( +6 ) – 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.

Update CGridview row separately using ajax request

Created 11 months ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 7,854 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 12,009 times – ( +6 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

How to implement form events

Created 6 months ago by Antonio RamirezHow-tos4 comments – viewed 4,085 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

How to use Multiple instances of the same model in the same form

Created 2 years ago by kiran sharmaHow-tos21 comments – viewed 35,672 times – ( +22 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Storing your images in your table's blob field and displaying that stored images.

Created 2 years ago by sirin kHow-tos7 comments – viewed 24,354 times – ( +9 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image