Wiki

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

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

Created 7 years ago by qiangTutorials3 comments – viewed 38,587 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.

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

Created 5 years ago by YetiTutorials1 comment – viewed 37,908 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.

Multiple Databases and Multiple Domains

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

To configure Yii path in Windows platform

Created 5 years ago by CodaTutorials2 comments – viewed 37,620 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,

Setting application parameters dynamically in the back-end

Created 4 years ago by PablovpTutorials6 comments – viewed 36,223 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,049 times – ( +17 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.

Simple access control

Created 4 years ago by szfjozsefTutorials4 comments – viewed 35,858 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.

Adding login form to each page

Created 6 years ago by pestaaTutorials5 comments – viewed 35,482 times – ( +3 / -2 ) – version 1.1
After adding proper form to the main layout, like:

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

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

Events explained

Created 4 years ago by pligorTutorials9 comments – viewed 34,391 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!