Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 141-150 of 353 result(s).

How to create front and admin side login form

Created 4 years ago by vibhaJadwaniHow-tos8 comments – viewed 72,616 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 3 years ago by VaibhavHow-tos1 comment – viewed 14,475 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.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 2 years ago by edoardo849How-tos2 comments – viewed 10,512 times – ( +6 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Creating a Dependent Dropdown From Scratch in Yii2

Created 2 years ago by ThePr0f3550rHow-tos3 comments – viewed 51,857 times – ( +6 ) – 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

How to implement an event and attach it in a behavior

Created 3 years ago by seb7How-tos0 comments – viewed 16,224 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 about a year ago by Antonio RamirezHow-tos4 comments – viewed 12,790 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

Checking for "expired" sessions/logins on the client side

Created 3 years ago by le_topHow-tos0 comments – viewed 21,433 times – ( +6 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created about a year ago by hrnairHow-tos2 comments – viewed 18,543 times – ( +6 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

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

Created 4 years ago by kiran sharmaHow-tos21 comments – viewed 51,571 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 4 years ago by sirin kHow-tos7 comments – viewed 31,072 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