Wiki

Sorted by commentsX
Displaying 421-430 of 719 result(s).

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 7 months ago by Kartik VTips2 comments – viewed 4,293 times – ( +33 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

Upload CSV File

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 10,553 times – ( +7 ) – version 1.1
View file

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

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 5,895 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,413 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 6 months ago by KonApazTutorials2 comments – viewed 1,447 times – ( +1 ) – version 1.1
In this wiki I will show how to copy a schema from a database to another one

A simple class to use a different db for a module

Created 3 years ago by tydeas_drTips2 comments – viewed 13,259 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 8,799 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 6 months ago by KonApazTutorials2 comments – viewed 3,430 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 6 months ago by thiagoc7How-tos2 comments – viewed 4,016 times – ( +2 ) – version 2.0
I could make this work following same useful tips from this post.

PHPStorm & NetBeans autocomplete problem

Created about a year ago by StagelineTips2 comments – viewed 8,568 times – ( +23 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.