Wiki

Articles in category "tutorials"X
Displaying 191-200 of 255 result(s).

Use different environments (development, production, etc) in your app with EASY Environment Class

Created 7 years ago by nancoderTutorials6 comments – viewed 42,704 times – ( +7 / -1 ) – version 1.1
Info: An extension was created based on this wiki page. See: http://www.yiiframework.com/extension/yii-environment/

CJuiDialog and AjaxSubmitButton

Created 7 years ago by tydeas_drTutorials22 comments – viewed 104,119 times – ( +37 / -3 ) – version 1.1
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

Display an AJAX tree from your DB using CTreeView

Created 7 years ago by François GannazTutorials10 comments – viewed 58,305 times – ( +21 / -1 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

Ordering Models by Weight with CJuiSortable

Created 7 years ago by Matt KelliherTutorials2 comments – viewed 13,098 times – ( +10 / -1 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 7 years ago by thyseusTutorials5 comments – viewed 74,005 times – ( +12 / -5 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

XSS safe model content

Created 7 years ago by phirasTutorials2 comments – viewed 9,956 times – ( +4 / -1 ) – version 1.1
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

i18n for your model in just 1 line

Created 7 years ago by mintaoTutorials0 comments – viewed 14,040 times – ( +12 / -1 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

Performance - A Guide For Best Practice

Created 7 years ago by Y!!Tutorials3 comments – viewed 19,980 times – ( +8 / -6 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Created 7 years ago by andy_sTutorials28 comments – viewed 107,918 times – ( +36 / -1 ) – version 1.1
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

How to use ldap in UserIdentity for authentication

Created 7 years ago by BeerSercTutorials15 comments – viewed 53,071 times – ( +14 / -1 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.