Wiki

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

HOW TO: Use token based authentication

Created 3 years ago by le_topHow-tos2 comments – viewed 20,554 times – ( +5 / -1 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Rendering Views and Updating them with Ajax

Created 3 years ago by Manish GuptaTips4 comments – viewed 20,518 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.

Popup AJAX DialogBox without any extension

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 20,487 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.

Load the Yii-Bootstrap Extension on Specific Actions

Created 4 years ago by chuntleyHow-tos5 comments – viewed 20,469 times – ( +10 / -1 ) – version 1.1
A big problem I've hit with the Yii-Bootstrap extension is that all AJAX requests are initializing Bootstrap because of preload. This is a huge waste of resources, especially when using AJAX-based file uploaders that split the file into chunks. Large file uploads using that method could be initializing bootstrap hundreds of times.
tags: bootstrap, filter

First Yii App: CTabView

Created 8 years ago by meanpenguinTutorials1 comment – viewed 20,439 times – ( -3 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.

Yii Security-extended guide

Created 5 years ago by bingjie2680Tips11 comments – viewed 20,403 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.

MVC primer and 5 minute form walkthrough

Created 5 years ago by rix.rix.Tutorials0 comments – viewed 20,036 times – ( +8 / -1 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Extension Development (beginner)

Created 3 years ago by sefburhanTutorials2 comments – viewed 19,983 times – ( +34 / -1 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Auto set model fields values

Created 4 years ago by vibhaJadwaniTutorials3 comments – viewed 19,926 times – ( +9 / -1 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,925 times – ( +12 / -2 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.