Wiki articles

Showing 181-200 of 822 items.

Yii HMVC

Created 10 years ago by ezekielnoob, updated 10 years ago by ezekielnoob.

what i am going to introduce is a coding style that will result into a single page generated from different requests like in the example below this makes the specific request reusable instead of just an action being accessible to the controller in which the widgets are created

2 1
10 followers
Viewed: 30 351 times
Version: Unknown (update)
Category: How-tos

Change buttons on our CGridView extending yii

Created 12 years ago by sensorario, updated 11 years ago by sensorario.

In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

9 0
9 followers
Viewed: 35 854 times
Version: 1.1
Category: Tips

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 14 years ago by mindeh, updated 8 years ago by Boaz.

Original source code and idea are from: PHP, PDO & Nested Transactions.

41 0
26 followers
Viewed: 66 538 times
Version: 1.1
Category: How-tos

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

Troubleshooting Rights Extension

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

Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.

5 0
14 followers
Viewed: 30 901 times
Version: 1.1
Category: Tips

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

Load data from internal/external source to fill form fields

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

This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

1 0
5 followers
Viewed: 34 470 times
Version: 2.0
Category: How-tos

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 873 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 320 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 241 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 844 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 673 times
Version: 2.0
Category: Tutorials

Date Picker by examples

Created 10 years ago by Interboy, updated 8 years ago by Alfa Adhitya.

CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

6 0
7 followers
Viewed: 139 512 times
Version: 1.1
Category: How-tos

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

Importing CSV file to mysql table using "LOAD DATA" command.

Created 11 years ago by sirin k, updated 6 years ago by Maurizio Domba Cerin.

hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.

5 0
20 followers
Viewed: 69 651 times
Version: 1.1
Category: Tips
Tags: csv, import, mysql

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

Implementing cron jobs with Yii

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

There are two ways to run a cron job:

27 2
27 followers
Viewed: 114 005 times
Version: 1.1
Category: How-tos
Tags: cli, cron

Publish yii webapp using Git push

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

I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;

2 0
8 followers
Viewed: 19 132 times
Version: 1.1
Category: How-tos
Tags: git

How to login from different tables in Yii2

Created 6 years ago by AndroideLP, updated 3 years ago by lenovo.

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object apply one table to authentication ('identityClass' => 'app\panel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
6 followers
Viewed: 61 681 times
Version: 2.0
Category: How-tos

Using Yii with Oracle through PDO

Created 13 years ago by Trejder, updated 12 years ago by waterloomatt.

When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

1 0
7 followers
Viewed: 69 087 times
Version: 1.1
Category: Tips