Wiki

Displaying 31-40 of 784 result(s).

Yii2: Query build for complexity SQL

Created about a year ago by Scott_HuangTips0 comments – viewed 8,182 times – ( -1 ) – version 2.0
As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

Simple Google Maps object for use with ajax maps

Created about a year ago by Chris BackhouseHow-tos1 comment – viewed 8,120 times – ( +1 / -1 ) – version 2.0
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.
tags: googlemap, maps

Execute migration on server/linux using shell

Created about a year ago by dariooHow-tos2 comments – viewed 6,457 times – ( -1 ) – version 2.0
It's easy to execute migration locally on XAMPP using cmd, but on server where you script is it's little bit harder.

How to have truly multilingual URLs

Created about a year ago by oligalmaHow-tos1 comment – viewed 5,327 times – ( -1 ) – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

Simple revealing and hiding the password in the password field

Created about a year ago by BizleyHow-tos2 comments – viewed 7,162 times – ( +2 / -1 ) – version 2.0
There are numerous usability problems:

YII2: Create console commands inside a module or extension

Created 2 years ago by MetaCrawlerTutorials5 comments – viewed 21,514 times – ( +4 / -1 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

PHP built-in server integration

Created 2 years ago by HeadshakerHow-tos1 comment – viewed 15,980 times – ( -1 ) – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created 2 years ago by Scott_HuangTutorials1 comment – viewed 10,347 times – ( +2 / -1 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article. http://www.yiiframework.com/extension/yii2-export2excel/

Load & Save With Relation

Created 2 years ago by moo.tensaiTips0 comments – viewed 8,004 times – ( +2 / -1 ) – version 2.0
Use this extension : yii2-relation-trait

Load data from internal/external source to fill form fields

Created 2 years ago by skwordenHow-tos4 comments – viewed 13,341 times – ( +1 / -1 ) – version 2.0
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.