Wiki

Sorted by ratingX
Displaying 341-350 of 752 result(s).

Multilanguage web site controlling by get request and database allowed languages

Created 4 years ago by Igor IvanovicTutorials2 comments – viewed 18,953 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

How to implement an event and attach it in a behavior

Created 2 years ago by seb7How-tos0 comments – viewed 13,170 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 10 months ago by Antonio RamirezHow-tos4 comments – viewed 5,656 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 imagine ( crop, thumb, effects for images ) on Yii2

Created 9 months ago by Anas AbuDayahTutorials0 comments – viewed 10,589 times – ( +6 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

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

Created 8 months ago by hrnairHow-tos2 comments – viewed 9,150 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 2 years ago by kiran sharmaHow-tos21 comments – viewed 39,704 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.

How to filter CGridView with From Date and To Date datepicker

Created 3 years ago by kiran sharmaTips16 comments – viewed 37,926 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

using multiple radio button

Created 3 years ago by francis jaTips4 comments – viewed 37,201 times – ( +9 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

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

Created 3 years ago by sirin kHow-tos7 comments – viewed 26,165 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

How to create nice modal login widget with a CJuiDialog

Created 4 years ago by Igor IvanovicTutorials3 comments – viewed 46,887 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget