Wiki

Sorted by commentsX
Displaying 411-420 of 782 result(s).

Execute migration on server/linux using shell

Created about a year ago by dariooHow-tos2 comments – viewed 4,976 times – 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.

Automatic Parameter Binding to POST vars in Yii2

Created 3 years ago by aarondfrancisHow-tos2 comments – viewed 11,381 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Created 3 years ago by Kostas Apazidis (KonApaz)Tips2 comments – viewed 26,945 times – ( +2 / -1 ) – version 1.1
First of all, You have to find out the class of the desired icon, so visit the http://getbootstrap.com/2.3.2/base-css.html#icons

XSS safe model content

Created 6 years ago by phirasTutorials2 comments – viewed 9,275 times – ( +4 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

Ordering Models by Weight with CJuiSortable

Created 6 years ago by Matt KelliherTutorials2 comments – viewed 12,442 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

How to install pdo_oci

Created 6 years ago by gallego123How-tos2 comments – viewed 28,040 times – ( +1 ) – version 1.1
From: http://lacot.org/ and me.
tags: pdo oci php

two or more different collected data in one CGridView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 9,456 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Multiple Databases and Multiple Domains

Created 6 years ago by got 2 doodleTutorials2 comments – viewed 38,925 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created 3 years ago by Gerhard LiebenbergHow-tos2 comments – viewed 49,848 times – ( +6 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Using CJuiDialog to display flash Messages in Dialogues

Created 6 years ago by thyseusTutorials2 comments – viewed 21,925 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :