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: 16 975 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 861 times
Version: 2.0
Category: Tutorials
0 0
3 followers
Viewed: 12 018 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: 56 888 times
Version: 2.0
Category: How-tos

Optimize Scenarios for yii2

Created 7 years ago by AndroideLP, updated 4 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 179 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 322 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 668 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 332 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 487 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 047 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 799 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 165 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: 88 860 times
Version: 2.0
Category: Tutorials
0 0
5 followers
Viewed: 46 722 times
Version: 2.0
Category: How-tos
7 0
4 followers
Viewed: 270 432 times
Version: 2.0
Category: Tutorials
2 0
3 followers
Viewed: 35 924 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 456 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 389 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 165 times
Version: 2.0
Category: How-tos

Automatic Parameter Binding to POST vars in Yii2

Created 10 years ago by aarondfrancis, updated 10 years ago by YiiJeka.

I wrote about this on my blog, but wanted to post it here too.

0 0
4 followers
Viewed: 26 221 times
Version: 2.0
Category: How-tos