Wiki

Sorted by ratingX
Displaying 261-270 of 782 result(s).

Building a REST API in Yii2.0

Created 2 years ago by sirin kTutorials6 comments – viewed 91,615 times – ( +9 ) – version 2.0
This is wiki page is useful if you are trying to build a customized REST API in Yii2.0
tags: yii2.0, REST API

Events explained

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

Database driven Cmenu

Created 4 years ago by twisted1919How-tos0 comments – viewed 25,295 times – ( +13 / -1 ) – version 1.1
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

Setting application parameters dynamically in the back-end

Created 4 years ago by PablovpTutorials6 comments – viewed 37,700 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.

Displaying image in a CGridView column.

Created 4 years ago by sirin kHow-tos5 comments – viewed 60,840 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Avoiding duplicate script download when using Ajax calls to render different Views

Created 5 years ago by Antonio RamirezTips6 comments – viewed 23,063 times – ( +13 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

Log Activity in DataBase

Created 3 years ago by mahdi1986Tutorials6 comments – viewed 17,732 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

How to filter data using a dropdown list?

Created 7 years ago by qiangTutorials0 comments – viewed 28,856 times – ( +8 ) – version 1.1
A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.

Application-driven database with CDbMigration and an extended CActiveRecord

Created 5 years ago by Tudor IlisoiOthers0 comments – viewed 10,481 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created 3 years ago by codesutraTutorials5 comments – viewed 66,629 times – ( +8 ) – version 1.1
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for PHPExcel library.