Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 91-100 of 253 result(s).

Filter & Sort by Summary Data in GridView Yii 2.0

Created 2 years ago by Kartik VTutorials7 comments – viewed 37,180 times – ( +40 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Events explained

Created 4 years ago by pligorTutorials9 comments – viewed 36,932 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Simple access control

Created 4 years ago by szfjozsefTutorials4 comments – viewed 36,805 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 2 years ago by Anas AbuDayahTutorials1 comment – viewed 36,453 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 3 years ago by softarkTutorials11 comments – viewed 36,265 times – ( +17 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Adding login form to each page

Created 7 years ago by pestaaTutorials5 comments – viewed 36,175 times – ( +3 / -2 ) – version 1.1
After adding proper form to the main layout, like:

Simple Ajax popup

Created 3 years ago by Rajith RTutorials1 comment – viewed 36,001 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

How to access a component of a module from within the module itself

Created 7 years ago by OriginalCopyTutorials3 comments – viewed 35,896 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Custom Login Error Messages

Created 3 years ago by whoopassTutorials1 comment – viewed 35,793 times – ( +11 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Relational data fields display and edit with the yii2-detail-view extension

Created 2 years ago by Kartik VTutorials2 comments – viewed 35,609 times – ( +39 ) – version 2.0
If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.