Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 111-120 of 241 result(s).

Save or Update Multiple related model values in one Tabular input form

Created about a year ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 10,441 times – ( +1 / -7 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

CRUD operation in Yii framework

Created about a year ago by Mohammad FareedTutorials4 comments – viewed 7,453 times – ( +1 / -6 ) – version all
Simple Yii Script for performing CRUD operations:

How to display data from two tables in TbGridView using DataProvider?

Created about a year ago by Rohit SutharTutorials4 comments – viewed 7,537 times – ( +6 / -1 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

How to display Dependent drop-down value using ajax call with dynamically

Created about a year ago by Ankit ModiTutorials4 comments – viewed 17,748 times – ( +2 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

How to setup yiic on WAMP (XP/Vista)

Created 6 years ago by krillzipTutorials3 comments – viewed 72,636 times – ( +3 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

How to hide index.php on nginx

Created 6 years ago by milesTutorials3 comments – viewed 47,793 times – ( +4 ) – version 1.1
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

How to access a component of a module from within the module itself

Created 6 years ago by OriginalCopyTutorials3 comments – viewed 25,336 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

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

Created 6 years ago by qiangTutorials3 comments – viewed 36,539 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.

Active Record snapshotting (Model data base history)

Created 5 months ago by BizleyTutorials3 comments – viewed 2,709 times – ( +2 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

Encapsulate db and module configurations

Created 5 years ago by ricardogranaTutorials3 comments – viewed 10,825 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module