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

Yii2 and Pdf files with Mpdf

Created about a year ago by CTalaHow-tos2 comments – viewed 9,561 times – ( +6 ) – 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.

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 7,615 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created about a year ago by Louis GacTutorials1 comment – viewed 7,082 times – ( +6 ) – version 1.1
For each column of the CGridView, we can specify customized buttons : Customize Buttons in CGridWiew

View a related field in CGridView

Created about a year ago by rafaelt88Tips1 comment – viewed 7,439 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

Multilanguage web site controlling by get request and database allowed languages

Created 4 years ago by Igor IvanovicTutorials2 comments – viewed 19,545 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 14,350 times – ( +6 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

Building a REST API in Yii2.0

Created about a year ago by sirin kTutorials5 comments – viewed 53,100 times – ( +6 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

How to implement form events

Created about a year ago by Antonio RamirezHow-tos4 comments – viewed 7,267 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 about a year ago by Anas AbuDayahTutorials0 comments – viewed 15,630 times – ( +6 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

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

Created 2 years ago by le_topHow-tos0 comments – viewed 18,617 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.