Wiki

Sorted by commentsX
Displaying 261-270 of 785 result(s).

yii2-app-advanced on single domain (Apache, Nginx)

Created 2 years ago by MadAndHow-tos4 comments – viewed 59,596 times – ( +9 / -1 ) – version 2.0
If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

Managing constants easily

Created 5 years ago by briiC.lvTips4 comments – viewed 16,594 times – ( +4 / -1 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

Multiple Database Connection : Select database based on login user id, Dynamic

Created 3 years ago by Rajith RHow-tos4 comments – viewed 27,600 times – ( +9 / -7 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

Visualization tree-multi subcategories as listbox or dropdownlist

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 15,611 times – ( +4 / -1 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

Integrating with other frameworks

Created 8 years ago by KJediTutorials4 comments – viewed 21,696 times – ( +5 / -2 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Tarpit for bad bots

Created 5 years ago by mitherealHow-tos4 comments – viewed 7,227 times – ( +1 / -1 ) – version 1.1
I recently built a tarpit for bad bots.
tags: tarpit, bots

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 5 years ago by c@cbaHow-tos4 comments – viewed 36,340 times – ( +14 / -1 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options. The main code was contributed by zaccaria in the forum (see this post).

Load data from internal/external source to fill form fields

Created 2 years ago by skwordenHow-tos4 comments – viewed 13,082 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.

Ajax Login form with validation errors inside jQuery modal dialog

Created 3 years ago by praviTutorials4 comments – viewed 36,329 times – ( +6 / -1 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

CGridView keep focus on the control after filtering

Created 5 years ago by jayalaHow-tos4 comments – viewed 11,007 times – ( +6 / -1 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter