Wiki

Displaying 31-40 of 703 result(s).

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 3 months ago by ThePr0f3550rHow-tos4 comments – viewed 7,096 times – ( +8 ) – 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 updateAll and deleteAll with scopes

Created 3 months ago by le_topHow-tos4 comments – viewed 3,679 times – ( +5 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

[Updated] How to create & call custom global function in whole application?

Created 3 months ago by Rohit SutharTutorials8 comments – viewed 2,335 times – ( +4 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Yii 1.1: How To add id or class to CMenu items ?

Created 3 months ago by Louis GacHow-tos0 comments – viewed 1,913 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 3 months ago by Rajith RTutorials0 comments – viewed 1,939 times – ( +8 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Disallowing login for INACTIVE users in Yii

Created 3 months ago by Rohit SutharTutorials0 comments – viewed 2,075 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

Creating a Dependent Dropdown From Scratch in Yii2

Created 3 months ago by ThePr0f3550rHow-tos1 comment – viewed 4,720 times – ( +3 ) – 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 display data from two tables in TbGridView using DataProvider?

Created 3 months ago by Rohit SutharTutorials4 comments – viewed 2,854 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

View a related field in CGridView

Created 3 months ago by rafaelt88Tips1 comment – viewed 1,976 times – ( +5 ) – 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".

How to prevent Login from two places?

Created 3 months ago by Rohit SutharTutorials0 comments – viewed 3,013 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.