Wiki

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

Database driven Cmenu

Created 5 years ago by twisted1919How-tos0 comments – viewed 25,444 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 38,040 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 61,232 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,239 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 18,003 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 29,069 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,586 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 67,578 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.

Use kartik Growl with Yii2 flash messages

Created about a year ago by skwordenHow-tos3 comments – viewed 23,331 times – ( +8 ) – version 2.0
This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

Troubleshooting Rights Extension

Created 5 years ago by junxiongTips6 comments – viewed 23,242 times – ( +8 ) – version 1.1
Rights is one of user interface for Yii's Role Base Access Control extension. It is one of most downloaded extensions in Yii's Web.