Wiki

Sorted by commentsX
Displaying 291-300 of 784 result(s).

Updating fields on a form with Ajax and Json

Created 6 years ago by Russell EnglandHow-tos4 comments – viewed 57,043 times – ( +12 / -2 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Understanding Autoloading, Helper Classes and Helper Functions

Created 6 years ago by Steve FriedlTutorials4 comments – viewed 99,086 times – ( +29 / -1 ) – version 1.1
Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

How to use YiiBooster Bootstrap Gallery

Created 4 years ago by Antonio RamirezHow-tos4 comments – viewed 27,927 times – ( +4 / -1 ) – version 1.1
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

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

Created 3 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 21,184 times – ( +1 / -8 ) – 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 ?

Using International Dates

Created 6 years ago by Russell EnglandHow-tos4 comments – viewed 38,569 times – ( +18 / -1 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/

CRUD operation in Yii framework

Created 3 years ago by Mohammad FareedTutorials4 comments – viewed 14,474 times – ( +1 / -7 ) – version all
Simple Yii Script for performing CRUD operations:

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

Created 3 years ago by Rohit SutharTutorials4 comments – viewed 14,920 times – ( +6 / -2 ) – version 1.1
In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

Creating a Dependent Dropdown From Scratch in Yii2

Created 3 years ago by ThePr0f3550rHow-tos4 comments – viewed 69,307 times – ( +8 / -1 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

Using updateAll and deleteAll with scopes

Created 3 years ago by le_topHow-tos4 comments – viewed 28,318 times – ( +5 / -1 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

Alternative folder structure for a standard Yii app

Created 4 years ago by TrejderHow-tos4 comments – viewed 14,705 times – ( +5 / -1 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.