Wiki

Sorted by commentsX
Displaying 461-470 of 771 result(s).

Syntax check

Created 5 years ago by Russell EnglandTips2 comments – viewed 7,939 times – ( +4 ) – version 1.1
So I've been busy making lots of modifications to my views/models/controllers - came to test the app and got a blank screen. Nothing in the application.log file so must be a syntax error somewhere... But which file?
tags: php, syntax

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

Created 2 years ago by Kartik VTips2 comments – viewed 12,012 times – ( +48 ) – 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 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 14,595 times – ( +8 ) – version 1.1
View file

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

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

Getting nulls from database instead of empty strings

Created 5 years ago by samdarkTips2 comments – viewed 11,145 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 2 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 3,219 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 5 years ago by vcxz_1982Tutorials2 comments – viewed 50,174 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.

Using Pear Mail Mail_Mime and Mail_Queue

Created 5 years ago by LorenHow-tos2 comments – viewed 10,667 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.

Relational data fields display and edit with the yii2-detail-view extension

Created 2 years ago by Kartik VTutorials2 comments – viewed 28,896 times – ( +39 ) – version 2.0
If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Sort and save order of model-elements drag & drop

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 6,085 times – ( +2 ) – version 1.1
Suppose you have Products,Categories and each product belongs in many categories