Wiki

Sorted by viewsX
Displaying 371-380 of 774 result(s).

Extension Development (beginner)

Created 2 years ago by sefburhanTutorials2 comments – viewed 18,767 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.

How to use Highslide for image popups

Created 7 years ago by mocapapaTutorials0 comments – viewed 18,706 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

FORM with GET method causes repeated stacking of URL Parameters

Created 2 years ago by Kartik VTips2 comments – viewed 18,702 times – ( +42 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 4 years ago by Antonio RamirezTutorials2 comments – viewed 18,692 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.

Yii Security-extended guide

Created 4 years ago by bingjie2680Tips11 comments – viewed 18,688 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.

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

Created 3 years ago by GiulianoHow-tos2 comments – viewed 18,680 times – ( +10 ) – 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.

MVC primer and 5 minute form walkthrough

Created 4 years ago by rix.rix.Tutorials0 comments – viewed 18,635 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Simple example for language translation

Created 2 years ago by RKAHow-tos2 comments – viewed 18,608 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created 2 years ago by Gerhard LiebenbergHow-tos3 comments – viewed 18,568 times – ( +8 / -1 ) – version 1.1
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different time this August compared to last August! However, by using php's DateTime class (instead of timestamps), we can do both "format" and "time zone" conversions on a single DateTime object (only 2 lines of code) for date, time, timestamp and datetime types - while php takes care of nightmares such as current and historical time zones and daylight saving times.

Auto set model fields values

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