Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 81-90 of 250 result(s).

How to create/save more Model inputs and make them repeatable with jQuery

Created 7 years ago by qiangTutorials3 comments – viewed 39,069 times – ( +12 ) – version 1.1
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

To configure Yii path in Windows platform

Created 5 years ago by CodaTutorials2 comments – viewed 38,492 times – ( +3 / -6 ) – version 1.1
I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

Multiple Databases and Multiple Domains

Created 6 years ago by got 2 doodleTutorials2 comments – viewed 38,442 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 6 years ago by YetiTutorials1 comment – viewed 38,288 times – ( +2 / -1 ) – version 1.1
Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL and mainly deals with the W7 quirks.

Setting application parameters dynamically in the back-end

Created 4 years ago by PablovpTutorials6 comments – viewed 37,049 times – ( +13 / -1 ) – version 1.1
I was wondering how to set-up the application parameters in the back-end to use them all around the application without the need of using the database and I came up with this solution, I hope it helps somebody else.

Manage application configuration in different modes

Created 7 years ago by qiangTutorials5 comments – viewed 36,705 times – ( +17 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

A very easy way to setup yiic on WAMP server (without extra windows settings)

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials10 comments – viewed 36,475 times – ( +6 / -1 ) – version 1.1
Assuming that you have already install the wampserver on your windows.

Simple access control

Created 4 years ago by szfjozsefTutorials4 comments – viewed 36,458 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

Created 2 years ago by Kartik VTutorials1 comment – viewed 36,078 times – ( +37 / -1 ) – version 2.0
The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 6 years ago by nancoderTutorials6 comments – viewed 35,862 times – ( +7 ) – version 1.1
Info: An extension was created based on this wiki page. See: http://www.yiiframework.com/extension/yii-environment/