Wiki articles

Showing 61-80 of 822 items.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 9 years ago by realtebo, updated 8 years ago by realtebo.

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 27 864 times
Version: 2.0
Category: Tutorials

Using phpseclib with Yii

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

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6 followers
Viewed: 18 998 times
Version: 1.1
Category: How-tos
Tags: security

Serial Numbers (item counts) in GridView

Created 11 years ago by PeRoChAk, updated 11 years ago by Maurizio Domba Cerin.

Sometime we need to display numbers of items per page with their counting as a serial number.

0 0
4 followers
Viewed: 17 942 times
Version: 1.1
Category: How-tos

Functional tests independing from your urlManager settings

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

If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

0 0
4 followers
Viewed: 12 369 times
Version: 1.1
Category: Tips

What to do when composer fails to update your vendor packages?

Created 9 years ago by Kartik V, updated 9 years ago by Kartik V.
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36 followers
Viewed: 49 526 times
Version: 2.0
Category: Tutorials

How to read HTML5 Multiple File Input from controller?

Created 9 years ago by Kartik V, updated 5 years ago by samdark.
0 2
40 followers
Viewed: 20 695 times
Version: 2.0
Category: How-tos

Install, update and use Yii with WAMP server

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

Here I am describing how you can install and update Yii in WAMP sever.

0 0
5 followers
Viewed: 87 930 times
Version: 1.1
Category: How-tos

Locking your Yii 2 project package versions with composer.lock

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

Ok, you have installed a Yii 2 basic or advanced app for the first time and completed the post install steps. You have picked up a few extensions to install for the first time as well. You would already see a composer.lock file in your application root folder.

0 2
37 followers
Viewed: 16 537 times
Version: 2.0
Category: Tips

To configure Yii path in Windows platform

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

I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

0 6
4 followers
Viewed: 49 808 times
Version: 1.1
Category: Tutorials

Save and Display Date/Time Fields in different formats in Yii2

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

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
51 followers
Viewed: 175 024 times
Version: 2.0
Category: How-tos

MigrateCommand class for multiple sites using one code base

Created 11 years ago by Hudson Nguyen, updated 11 years ago by Hudson Nguyen.

My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

0 0
2 followers
Viewed: 6 061 times
Version: 1.1
Category: How-tos
Tags:

Model validation for field ranges using yii2-field-range extension

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

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: 27 587 times
Version: 2.0
Category: Tips

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

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

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

0 0
6 followers
Viewed: 64 934 times
Version: 2.0
Category: How-tos

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

Created 9 years ago by Kartik V, updated 9 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: 31 525 times
Version: 2.0
Category: How-tos

CRUD operation in Yii framework

Created 9 years ago by Mohammad Fareed, updated 5 years ago by samdark.

Simple Yii Script for performing CRUD operations:

0 4
6 followers
Viewed: 32 376 times
Version: 1.1
Category: Tutorials

Using rights extension with different table and column name

Created 9 years ago by Ibrar Turi, updated 9 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: 5 983 times
Version: 1.1
Category: How-tos

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

How to prevent Login from two places?

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

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

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

How to create the custom Drop-down using CHtml::dropDownList

Created 9 years ago by Ankit Modi, updated 5 years ago by samdark.

Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

0 0
3 followers
Viewed: 27 118 times
Version: 1.1
Category: How-tos