Wiki

Sorted by commentsX
Displaying 441-450 of 747 result(s).

Define general array and variable and call it to anywhere in application

Created 2 years ago by bhavesh vaghelaTutorials2 comments – viewed 6,410 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

Getting nulls from database instead of empty strings

Created 3 years ago by samdarkTips2 comments – viewed 9,882 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 11 months ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 1,910 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 3 years ago by vcxz_1982Tutorials2 comments – viewed 41,180 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 3 years ago by tydeas_drTips2 comments – viewed 14,097 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 3 years ago by LorenHow-tos2 comments – viewed 9,323 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 11 months ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 4,137 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 11 months ago by thiagoc7How-tos2 comments – viewed 6,083 times – ( +3 ) – version 2.0
I could make this work following same useful tips from this post.

PHPStorm & NetBeans autocomplete problem

Created 2 years ago by StagelineTips2 comments – viewed 9,539 times – ( +24 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Using rights extension with different table and column name

Created 10 months ago by turiHow-tos2 comments – viewed 1,950 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.