Wiki

Sorted by commentsX
Displaying 471-480 of 784 result(s).

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

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

Getting nulls from database instead of empty strings

Created 6 years ago by samdarkTips2 comments – viewed 12,211 times – ( +13 / -1 ) – 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 3 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 4,173 times – ( +2 / -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 6 years ago by vcxz_1982Tutorials2 comments – viewed 54,550 times – ( +4 / -1 ) – 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 6 years ago by LorenHow-tos2 comments – viewed 11,586 times – ( +7 / -1 ) – 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 3 years ago by Kartik VTutorials2 comments – viewed 40,561 times – ( +40 / -1 ) – 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 3 years ago by Kostas Apazidis (KonApaz)Tutorials2 comments – viewed 7,833 times – ( +2 / -1 ) – 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 3 years ago by thiagoc7How-tos2 comments – viewed 14,810 times – ( +4 / -1 ) – version 2.0
I could make this work following same useful tips from this post.

How to use yii2-authclient to communicate with Twitter using Single Access Token

Created 3 years ago by Antonio RamirezHow-tos2 comments – viewed 13,411 times – ( +4 / -1 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

Using rights extension with different table and column name

Created 3 years ago by Ibrar TuriHow-tos2 comments – viewed 3,326 times – ( +1 / -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.