Wiki

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

Popup AJAX DialogBox without any extension

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

Yii Security-extended guide

Created 5 years ago by bingjie2680Tips11 comments – viewed 19,843 times – ( +6 / -6 ) – 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.

Save or Update Multiple related model values in one Tabular input form

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 19,660 times – ( +1 / -7 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

MVC primer and 5 minute form walkthrough

Created 4 years ago by rix.rix.Tutorials0 comments – viewed 19,648 times – ( +8 ) – 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,615 times – ( +34 ) – 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.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,604 times – ( +12 / -1 ) – 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.

How to use Highslide for image popups

Created 8 years ago by mocapapaTutorials0 comments – viewed 19,532 times – ( +1 ) – version 1.1
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups

Auto set model fields values

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

How to use Smarty renderer in Yii

Created 6 years ago by dongbetaHow-tos2 comments – viewed 19,523 times – ( +4 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

HOW TO: Use token based authentication

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