Wiki articles

Showing 141-160 of 799 items.

How to display data from two tables in TbGridView using DataProvider?

Created 4 years ago by Rohit Suthar, updated 4 years ago by Rohit Suthar.

In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

0 0
5 followers
Viewed: 20 849 times
Version: 1.1
Category: Tutorials

View a related field in CGridView

Created 4 years ago by rafaelt88, updated 3 years ago by rafaelt88.

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".

1 0
3 followers
Viewed: 14 791 times
Version: 1.1
Category: Tips

How to prevent Login from two places?

Created 4 years ago by Rohit Suthar, updated 4 years ago by Rohit Suthar.

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.

0 0
5 followers
Viewed: 13 023 times
Version: 1.1
Category: Tutorials
1 0
5 followers
Viewed: 7 196 times
Version: 1.1
Category: How-tos
Tags: i18n, Routing

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

Created 4 years ago by Rohit Suthar, updated 4 years ago by Rohit Suthar.

In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

0 0
7 followers
Viewed: 39 315 times
Version: 1.1
Category: Tutorials

Nested inline active fields inside Bootstrap horizontal forms

Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

5 0
40 followers
Viewed: 47 176 times
Version: 2.0
Category: How-tos

Where to implement knowledge about the addresses of the controller?

Created 5 years ago by Petr.Grishin, updated 5 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 5 577 times
Version: 1.1
Category: Tutorials

Make the authentication more securely

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

2 0
3 followers
Viewed: 9 809 times
Version: 1.1
Category: Tutorials

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

Created 5 years ago by Louis Gac, updated 4 years ago by Louis Gac.

Let's take the example of the above article to display an email button next to a delete button:

3 0
4 followers
Viewed: 15 990 times
Version: 1.1
Category: Tutorials

How to create a Widget - Recent Comments widget

Created 5 years ago by Nisanth thulasi, updated 4 months ago by samdark.

Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

5 0
6 followers
Viewed: 31 604 times
Version: 1.1
Category: How-tos

Using rights extension with different table and column name

Created 5 years ago by Ibrar Turi, updated 5 years ago by Ibrar Turi.

Once you have installed and configured the rights extension in your application, you can change the table name from 'User' to any table name you want and similarly for 'username' column to any other column name.

0 0
2 followers
Viewed: 4 323 times
Version: 1.1
Category: How-tos

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 5 years ago by Antonio Ramirez, updated 5 years ago by Antonio Ramirez.

It is quite simple, but I am sure this small tutorial will help more than one of you out there :)

2 0
4 followers
Viewed: 19 226 times
Version: 2.0
Category: How-tos

CRUD operation in Yii framework

Created 5 years ago by Mohammad Fareed, updated 4 months ago by samdark.

Simple Yii Script for performing CRUD operations:

0 4
6 followers
Viewed: 21 764 times
Version: 1.1
Category: Tutorials

Managing different Bootstrap form layouts with yii2-field-range extension.

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.

This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

0 0
37 followers
Viewed: 23 189 times
Version: 2.0
Category: How-tos

Book Has Author - Many to Many relations using Kartik\Select2

Created 5 years ago by thiagoc7, updated 5 years ago by thiagoc7.

I could make this work following same useful tips from this post.

0 0
6 followers
Viewed: 20 533 times
Version: 2.0
Category: How-tos

Sort and save order of model-elements drag & drop

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

Suppose you have Products,Categories and each product belongs in many categories

1 0
4 followers
Viewed: 11 731 times
Version: 1.1
Category: Tutorials

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

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.

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](http://demos....

4 0
41 followers
Viewed: 50 943 times
Version: 2.0
Category: Tutorials

DB Driven CMenu (Widget)

Created 5 years ago by Preacher, updated 5 years ago by Preacher.

Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:

1 0
1 follower
Viewed: 4 655 times
Version: 1.1
Category: Tutorials

Insert data from database to another database table

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 9 077 times
Version: 1.1
Category: Tutorials
1 0
3 followers
Viewed: 17 315 times
Version: 1.1
Category: How-tos