Wiki articles

Showing 61-80 of 165 items.

Simple Google Maps object for use with ajax maps

Created 9 years ago by Chris Backhouse, updated 9 years ago by Chris Backhouse.

The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.

0 0
3 followers
Viewed: 17 092 times
Version: 2.0
Category: How-tos

Language Selector

Created 8 years ago by Programmer Thailand, updated 8 years ago by Programmer Thailand.

common\components\LanguageSelector.php

<?php
namespace common\components;

2 0
6 followers
Viewed: 16 988 times
Version: 2.0
Category: Tutorials
0 0
3 followers
Viewed: 12 065 times
Version: 2.0
Category: How-tos
Tags:

A Single Page with a List and a Detail

Created 8 years ago by softark, updated 8 years ago by Patrick Jones.

The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.

3 0
5 followers
Viewed: 57 109 times
Version: 2.0
Category: How-tos

Optimize Scenarios for yii2

Created 8 years ago by AndroideLP, updated 5 years ago by AndroideLP.

Working with scenarios, with models that can receive many modifications in their rules or structures as development evolves, can create disruptions in the rescue process.

4 0
2 followers
Viewed: 43 470 times
Version: 2.0
Category: Tutorials

Yii2 Report Grid

Created 7 years ago by Chris Backhouse, updated 6 years ago by Chris Backhouse.

There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.

6 0
7 followers
Viewed: 34 500 times
Version: 2.0
Category: Tips

Adding Yii Search to Your Browser Search Box

Created 13 years ago by qiang, updated 6 years ago by CeBe.

The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.

25 0
6 followers
Viewed: 64 857 times
Version: all
Category: Tips

Automatically get the SVN Revision Number of your Project

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

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 13 418 times
Version: all
Category: Tutorials

How to read HTML5 Multiple File Input from controller?

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

Profiling using XDebug

Created 11 years ago by le_top, updated 9 years ago by le_top.

A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

3 0
3 followers
Viewed: 22 172 times
Version: all
Category: How-tos

MongoDB's RBAC support class extending BaseManager

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

Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in `common\components and modify your params.php` file like this:

0 0
4 followers
Viewed: 13 860 times
Version: 2.0
Category: How-tos
Tags: mongodb, rbac, yii2

Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

Created 5 years ago by toaster, updated 5 years ago by toaster.

The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

8 0
2 followers
Viewed: 34 398 times
Version: 2.0
Category: Tutorials

Nested Set with Yii2

Created 5 years ago by sangprabo, updated 5 years ago by sangprabo.

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is speci...

7 0
3 followers
Viewed: 89 081 times
Version: 2.0
Category: Tutorials
0 0
5 followers
Viewed: 46 842 times
Version: 2.0
Category: How-tos
7 0
4 followers
Viewed: 273 737 times
Version: 2.0
Category: Tutorials

Aadhar Number Validator

Created 2 years ago by shiv.

In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2

1 1
1 follower
Viewed: 82 741 times
Version: 2.0
Category: Tips
Tags: validator
2 0
3 followers
Viewed: 36 105 times
Version: 2.0
Category: How-tos

Before Query Example : Soft Delete

Created 9 years ago by moo.tensai, updated 9 years ago by moo.tensai.

This is how i do before query on Yii 2.0

0 0
3 followers
Viewed: 20 610 times
Version: 2.0
Category: How-tos

Simple revealing and hiding the password in the password field

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

There are numerous usability problems:

5 0
4 followers
Viewed: 30 532 times
Version: 2.0
Category: How-tos

Execute migration on server/linux using shell

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

It's easy to execute migration locally on XAMPP using cmd, but on server where you script is it's little bit harder.

0 0
3 followers
Viewed: 20 280 times
Version: 2.0
Category: How-tos