Sorted by viewsX
Displaying 381-390 of 786 result(s).

How to hide index.php on Microsoft Windows Server with IIS7

Created 5 years ago by GiulianoHow-tos2 comments – viewed 22,659 times – ( +10 / -1 ) – version 1.1
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

Integrating with other frameworks

Created 8 years ago by KJediTutorials4 comments – viewed 22,615 times – ( +5 / -2 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Using cache in CActiveDataProvider

Created 6 years ago by StammTips7 comments – viewed 22,280 times – ( +21 / -1 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

CGridView and AjaxForm Connect

Created 7 years ago by PinkBrainPlanHow-tos2 comments – viewed 22,243 times – ( +1 / -1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Simple way to implement Dynamic Tabular Inputs

Created 2 years ago by ezekielnoobTutorials5 comments – viewed 22,218 times – ( +4 / -1 ) – version all

Simple Jui Autocomplete in yii2

Created 2 years ago by ajithTutorials4 comments – viewed 22,206 times – ( -2 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

Update a part of content using AJAX when select a GridView row

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 22,002 times – ( +4 / -1 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

Rendering Views and Updating them with Ajax

Created 4 years ago by Manish GuptaTips4 comments – viewed 21,960 times – ( +2 / -1 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

Yii Security-extended guide

Created 6 years ago by bingjie2680Tips11 comments – viewed 21,855 times – ( +6 / -7 ) – version 1.1
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Popup AJAX DialogBox without any extension

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 21,842 times – ( +8 / -2 ) – version 1.1
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.