Sorted by commentsX
Displaying 151-160 of 757 result(s).

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created about a year ago by ThePr0f3550rHow-tos7 comments – viewed 45,261 times – ( +16 / -1 ) – version 2.0
Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"
tags: yii2, theme, adminLTE

Using cache in CActiveDataProvider

Created 4 years ago by StammTips7 comments – viewed 17,744 times – ( +21 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 2 years ago by Charles R. Portwood IITutorials7 comments – viewed 146,948 times – ( +9 / -10 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

How to upload a file using a model

Created 6 years ago by qiangTutorials6 comments – viewed 377,484 times – ( +85 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

multiple CActiveDataProviders in one CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 16,370 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Popup AJAX DialogBox without any extension

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 16,309 times – ( +8 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 2 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 19,858 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Log Activity in DataBase

Created 2 years ago by mahdi1986Tutorials6 comments – viewed 14,118 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

How to pass the third parameter to UserIdentity on login authentication

Created 10 months ago by Rohit SutharHow-tos6 comments – viewed 9,013 times – ( +2 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

How to learn Yii?!

Created 3 years ago by yJeroenTutorials6 comments – viewed 74,988 times – ( +25 ) – version all
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.