Wiki

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

Events explained

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

Activate captcha after unsuccessful login attempts

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 20,993 times – ( +13 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

Database driven Cmenu

Created 4 years ago by twisted1919How-tos0 comments – viewed 24,910 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 36,773 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 59,555 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 4 years ago by Antonio RamirezTips6 comments – viewed 22,533 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 16,854 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,300 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 4 years ago by Tudor IlisoiOthers0 comments – viewed 10,242 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 63,856 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.