Wiki articles in category How-tos

Showing 61-73 of 73 items.

How to use BootstrapInterface

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

Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks. On this article, I am going to explain how to use it on y...

2 0
3 followers
Viewed: 14 998 times
Version: 2.0
Category: How-tos

Cómo enviar emails usando SMTP

Created 6 years ago by robregonm, updated 6 years ago by robregonm.
2 0
2 followers
Viewed: 20 265 times
Version: 2.0
Category: How-tos

Using the yii2-datecontrol extension along with yii2-detail-view widget

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

The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

1 0
37 followers
Viewed: 16 160 times
Version: 2.0
Category: How-tos

using 'whenClient' for complex client side validation

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

You have a 'Category' model with Id, Name and Visibility (boolean, where 0 = Public, and 1 = Private).

0 0
3 followers
Viewed: 14 310 times
Version: 2.0
Category: How-tos

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

Created 6 years ago by Kartik V, updated 6 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: 25 374 times
Version: 2.0
Category: How-tos

How to sum (Update) of all input button price value using jquery

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

Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others. See Image

0 0
2 followers
Viewed: 15 230 times
Version: all
Category: How-tos

Role Management

Created 5 years ago by Dency G B, updated 5 years ago by Dency G B.

Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.

0 0
5 followers
Viewed: 18 739 times
Version: 2.0
Category: How-tos
Tags: rbac, yii2

Getting information from the current locale

Created 2 years ago by CeBe, updated 2 years ago by CeBe.

Yii 2.0 comes with a formatter component to format dates, numbers, and other values for international users according to their locale. This is very useful for displaying data. When working with incoming data or when using enhanced input methods like the [MaskedInput widget](https://www.yiiframework.com/doc/api/2.0/yii-widgets-maskedinp...

5 0
2 followers
Viewed: 12 933 times
Version: 2.0
Category: How-tos

Events registration examples

Created a year ago by minitia, updated a year ago by minitia.

Register an event handler at Object-Level

1 0
2 followers
Viewed: 45 396 times
Version: 2.0
Category: How-tos
Tags: events, yii2

Move sources to src

Created 11 months ago by samdark, updated 11 months ago by samdark.

Yii 3 and many Yii 2 package sources are contained within src directory which is convenient since you have less directories to check.

9 0
4 followers
Viewed: 7 553 times
Version: 2.0
Category: How-tos

Change default date format in Oracle

Created 10 months ago by lenovo, updated 10 months ago by samdark.

Default date format in Oracle is DD-MON-RR (25-JAN-18). With that output, we can't using date formatting.

0 0
2 followers
Viewed: 15 457 times
Version: 2.0
Category: How-tos
Tags: database

UUID instead of an auto-increment integer for ID with Active Record

Created 8 months ago by grigori, updated 3 months ago by samdark.

I have an API. It's built with a RESTful extension over Active Record, and some endpoints provide PUT methods to upload files. By a REST design we create an entity with POST /video first, and then upload a video file with PUT /video/{id}/data.

4 0
3 followers
Viewed: 16 142 times
Version: 2.0
Category: How-tos

Start using Yii2 in Raspberry Pi3 (RPI3) via Pantahub

Created 17 days ago by sirin k, updated 6 days ago by sirin k.

2 0
2 followers
Viewed: 1 413 times
Version: 2.0
Category: How-tos