Wiki

Sorted by commentsX
Displaying 451-460 of 752 result(s).

Getting nulls from database instead of empty strings

Created 4 years ago by samdarkTips2 comments – viewed 10,174 times – ( +13 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

Migration the database schema to another one

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 2,147 times – ( +1 ) – version 1.1
In this wiki I will show how to copy a schema from a database to another one

config Use MS SQL SERVER 2005 2008.

Created 4 years ago by vcxz_1982Tutorials2 comments – viewed 43,753 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

A simple class to use a different db for a module

Created 4 years ago by tydeas_drTips2 comments – viewed 14,613 times – ( +9 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

Using Pear Mail Mail_Mime and Mail_Queue

Created 4 years ago by LorenHow-tos2 comments – viewed 9,639 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Sort and save order of model-elements drag & drop

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 4,554 times – ( +2 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories

Book Has Author - Many to Many relations using Kartik\Select2

Created about a year ago by thiagoc7How-tos2 comments – viewed 7,442 times – ( +3 ) – version 2.0
I could make this work following same useful tips from this post.

Using rights extension with different table and column name

Created about a year ago by turiHow-tos2 comments – viewed 2,192 times – ( +1 ) – version 1.1
Once you have installed and configured the rights extension in your application, you can change the table name from 'User' to any table name you want and similarly for 'username' column to any other column name.

How to create a wrapper for a js library

Created 4 years ago by zaccariaHow-tos2 comments – viewed 11,913 times – ( +16 / -1 ) – version 1.1
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Nested inline active fields inside Bootstrap horizontal forms

Created about a year ago by Kartik VHow-tos2 comments – viewed 15,952 times – ( +41 ) – version 2.0
Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.