Wiki articles in category Tutorials

Showing 181-200 of 264 items.

Enabling Gzip

Created 14 years ago by pestaa, updated 11 years ago by Yang He.

Adding HTTP compression to your application could never have been easier!

6 1
13 followers
Viewed: 38 784 times
Version: 1.1
Category: Tutorials
Tags:

Email template functionality with manage content from database

Created 10 years ago by kiran sharma, updated 9 years ago by yugene.

I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)

4 0
12 followers
Viewed: 47 205 times
Version: 1.1
Category: Tutorials

Setting application parameters dynamically in the back-end

Created 12 years ago by Pablovp, updated 12 years ago by Pablovp.

I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

12 0
16 followers
Viewed: 62 883 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 10 years ago by nineinchnick, updated 5 years ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 40 339 times
Version: 1.1
Category: Tutorials

I18n subdomains and url-rules

Created 14 years ago by Y!!, updated 13 years ago by atrandafir.

This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)

7 0
17 followers
Viewed: 45 249 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL

Two Login in same form in Yii application , with two tables

Created 10 years ago by Balu, updated 9 years ago by Rohit Suthar.

login links will be

3 4
6 followers
Viewed: 30 855 times
Version: 1.1
Category: Tutorials

Simple Jui Autocomplete in yii2

Created 8 years ago by ajith, updated 8 years ago by ajith.

To use jui auto complete widget first add

0 0
3 followers
Viewed: 50 687 times
Version: 2.0
Category: Tutorials

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 13 years ago by nancoder, updated 13 years ago by marcovtwout.

Hi, I was having problems each time I had to test the site or edit something on my local machine, like changing the db connection, change the debug mode to false, the trace level to 0, disable Gii, etc. So I created a class to resolve all my problems, hope to help you in your projects!

7 0
7 followers
Viewed: 76 560 times
Version: 1.1
Category: Tutorials
Tags:

Module based login

Created 13 years ago by suriyansuresh, updated 13 years ago by suriyansuresh.

If you want to add module based login to a site without using RBAC, please follow these guidelines.

13 0
18 followers
Viewed: 89 601 times
Version: 1.1
Category: Tutorials

Create image thumbnails with php_img_preview

Created 11 years ago by Anas AbuDayah, updated 9 years ago by Anas AbuDayah.

This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.

4 0
9 followers
Viewed: 23 812 times
Version: 1.1
Category: Tutorials
Tags: images, views

How to display static pages in Yii with database content?

Created 11 years ago by yasen, updated 11 years ago by yasen.

To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

3 0
13 followers
Viewed: 42 300 times
Version: 1.1
Category: Tutorials

Impersonate Users within Yii Framework

Created 13 years ago by Woil, updated 13 years ago by Woil.

For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

20 0
21 followers
Viewed: 26 244 times
Version: 1.1
Category: Tutorials

Managing your nested dropdown dependency with DepDrop widget

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

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

2 3
42 followers
Viewed: 87 544 times
Version: 2.0
Category: Tutorials

Implementing a Registration Process using the yii-user-management module

Created 12 years ago by thyseus, updated 12 years ago by thyseus.

Hi Folks,

7 0
21 followers
Viewed: 79 493 times
Version: 1.1
Category: Tutorials

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

Created 9 years ago by Rohit Suthar, updated 9 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: 54 872 times
Version: 1.1
Category: Tutorials

Translation from .txt file

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

Translation from .txt file Note:

0 2
4 followers
Viewed: 9 985 times
Version: 1.1
Category: Tutorials

Building a REST API in Yii2.0

Created 9 years ago by sirin k, updated 6 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: 149 087 times
Version: 2.0
Category: Tutorials

How to log changes of ActiveRecords?

Created 15 years ago by pfth, updated 11 years ago by Yang He.

A simple and effective way to keep track what your users are doing within your application is to log their activities related to database modifications. You can log whenever a record was inserted, changed or deleted, and also when and by which user this was done. For a [CActiveRecord] Model you could use a behavior for this purpose. This way you will be able to add log functionality to ActiveRecor...

31 1
47 followers
Viewed: 72 565 times
Version: 1.1
Category: Tutorials
Tags: Logging

Log Activity in DataBase

Created 10 years ago by mahdi1986, updated 9 years ago by mahdi1986.

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

4 0
17 followers
Viewed: 32 640 times
Version: 1.1
Category: Tutorials

How to customize Yii core messages?

Created 15 years ago by qiang, updated 11 years ago by Yang He.

Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances:

17 0
16 followers
Viewed: 67 816 times
Version: 1.1
Category: Tutorials