Wiki articles in category Tutorials

Showing 21-40 of 258 items.

Active Record snapshotting (Model data base history)

Created 4 years ago by Bizley, updated 4 years ago by Bizley.

One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

1 0
5 followers
Viewed: 10 771 times
Version: 1.1
Category: Tutorials

Running applications with Docker

Created 4 years ago by schmunk, updated 4 years ago by schmunk.

When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

4 0
8 followers
Viewed: 32 357 times
Version: 2.0
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 4 years ago by softark, updated 8 months ago by softark.

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

11 0
12 followers
Viewed: 73 757 times
Version: 2.0
Category: Tutorials

Gettext and Poedit HOWTO

Created 4 years ago by Maug Lee, updated 4 years ago by Maug Lee.

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 8 992 times
Version: 1.1
Category: Tutorials

RBAC Super Simple with Admin and User

Created 4 years ago by evercode, updated 4 years ago by evercode.

One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for devel...

6 1
14 followers
Viewed: 77 223 times
Version: 2.0
Category: Tutorials

Simple Way to Upload and Save File

Created 4 years ago by Misbahul D Munir, updated 4 years ago by Misbahul D Munir.

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

0 0
4 followers
Viewed: 27 995 times
Version: 2.0
Category: Tutorials

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

Created 4 years ago by Anas AbuDayah, updated 3 years ago by Cozumel.

Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

5 0
13 followers
Viewed: 73 048 times
Version: 2.0
Category: Tutorials

How to display images in CJuiAutoComplete without extenstions

Created 4 years ago by Asmaa, updated 5 months ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 8 059 times
Version: 1.1
Category: Tutorials

Building a REST API in Yii2.0

Created 4 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

This is wiki page is useful if you are trying to build a customized REST API in Yii2.0

4 0
16 followers
Viewed: 125 304 times
Version: 2.0
Category: Tutorials

Translation from .txt file

Created 4 years ago by Yii3, updated 4 years ago by Yii3.

Translation from .txt file Note:

0 2
4 followers
Viewed: 6 972 times
Version: 1.1
Category: Tutorials

How to display Dependent drop-down value using ajax call with dynamically

Created 4 years ago by Ankit Modi, updated 5 months ago by samdark.

Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

0 1
6 followers
Viewed: 39 830 times
Version: 1.1
Category: Tutorials

Forcing login for all pages using CBehavior

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

In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

0 3
5 followers
Viewed: 13 376 times
Version: 1.1
Category: Tutorials

Manage Email Template content from database

Created 4 years ago by Ankit Modi, updated 4 years ago by Ankit Modi.

Hi Friends,

0 1
1 follower
Viewed: 11 243 times
Version: all
Category: Tutorials

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

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

In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

0 3
5 followers
Viewed: 25 779 times
Version: 1.1
Category: Tutorials

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

Created 4 years ago by Rajith R, updated 4 years ago by Rajith R.

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.

3 0
5 followers
Viewed: 23 723 times
Version: 1.1
Category: Tutorials
Tags: newbie, Yii, yiic

Disallowing login for INACTIVE users in Yii

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

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.

1 0
3 followers
Viewed: 11 740 times
Version: 1.1
Category: Tutorials

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 865 times
Version: 1.1
Category: Tutorials

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 034 times
Version: 1.1
Category: Tutorials

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

Created 5 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 374 times
Version: 1.1
Category: Tutorials

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 591 times
Version: 1.1
Category: Tutorials