Wiki articles

Showing 581-600 of 651 items.

Add charts / print buttons to your webapp

Created 14 years ago by CoLT, updated 13 years ago by CoLT.

In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.

6 0
9 followers
Viewed: 38 718 times
Version: 1.1
Category: Tutorials

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

Created 14 years ago by nancoder, updated 13 years ago by marcovtwout.

Hi, I was having problems each time I had to test the site or edit something on my local machine, like changing the db connection, change the debug mode to false, the trace level to 0, disable Gii, etc. So I created a class to resolve all my problems, hope to help you in your projects!

7 0
7 followers
Viewed: 78 127 times
Version: 1.1
Category: Tutorials
Tags:

CJuiDialog and AjaxSubmitButton

Created 14 years ago by tydeas_dr, updated 13 years ago by phazei.

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.

33 1
45 followers
Viewed: 128 077 times
Version: 1.1
Category: Tutorials
Tags: AJAX

How to install pdo_oci

Created 14 years ago by gallego123, updated 13 years ago by gallego123.

From: http://lacot.org/ and me.

1 0
3 followers
Viewed: 36 912 times
Version: 1.1
Category: How-tos

Display an AJAX tree from your DB using CTreeView

Created 14 years ago by François Gannaz, updated 12 years ago by François Gannaz.

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).

19 0
21 followers
Viewed: 73 249 times
Version: 1.1
Category: Tutorials

Ordering Models by Weight with CJuiSortable

Created 14 years ago by Matt Kelliher, updated 11 years ago by Phil Loaiza.

In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

9 0
10 followers
Viewed: 16 932 times
Version: 1.1
Category: Tutorials
Tags:

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

Created 14 years ago by thyseus, updated 14 years ago by Orteko.

p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

12 2
15 followers
Viewed: 96 207 times
Version: 1.1
Category: Tutorials

XSS safe model content

Created 14 years ago by phiras, updated 14 years ago by phiras.

In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

4 0
1 follower
Viewed: 13 077 times
Version: 1.1
Category: Tutorials
Tags:

i18n for your model in just 1 line

Created 14 years ago by mintao, updated 14 years ago by Orteko.

A simple trick to get the localized version of a model field is to add this little method to your models.

12 0
9 followers
Viewed: 19 779 times
Version: 1.1
Category: Tutorials
Tags: i18n

How to setup RBAC with a php file

Created 14 years ago by bettor, updated 12 years ago by Stageline.

In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

24 4
21 followers
Viewed: 114 003 times
Version: 1.1
Category: How-tos

Performance - A Guide For Best Practice

Created 14 years ago by Y!!, updated 13 years ago by ajsharma.

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.

9 5
10 followers
Viewed: 27 798 times
Version: 1.1
Category: Tutorials

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

Created 14 years ago by andy_s, updated 12 years ago by kiran sharma.

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.

26 0
44 followers
Viewed: 141 383 times
Version: 1.1
Category: Tutorials
Tags:

How to use ldap in UserIdentity for authentication

Created 14 years ago by BeerSerc, updated 10 years ago by Navarr.

Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

11 0
18 followers
Viewed: 96 754 times
Version: 1.1
Category: Tutorials

Creating a database-driven hierarchical Structure combined with CMenu and superfish

Created 14 years ago by thyseus, updated 13 years ago by thyseus.

Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!

15 0
24 followers
Viewed: 63 993 times
Version: 1.1
Category: Tutorials
Tags: menu

Add information to Yii::app()->user by extending CWebUser

Created 14 years ago by atrandafir, updated 12 years ago by Yang He.

This little tutorial explains a way how you can retrieve more parameters from Yii::app()->user by adding a component that extends CWebUser and retrieves the user information from database table named User.

27 0
38 followers
Viewed: 152 954 times
Version: 1.1
Category: Tutorials
Tags:

Using the configuration file, explain what can be configured.

Created 14 years ago by atrandafir, updated 12 years ago by Yang He.

The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

17 0
14 followers
Viewed: 92 084 times
Version: 1.1
Category: Tutorials
Tags:

SQL Logging and Profiling in FireBug (Yii 1.1)

Created 14 years ago by mindplay, updated 14 years ago by qiang.

During development, it's often very handy to have SQL logging and profiling.

6 0
6 followers
Viewed: 37 468 times
Version: 1.1
Category: Tutorials
Tags: Logging

Reference: Model rules validation

Created 14 years ago by krillzip, updated 11 years ago by Rodrigo.

This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

99 0
114 followers
Viewed: 890 965 times
Version: 1.1
Category: How-tos

I18n subdomains and url-rules

Created 14 years ago by Y!!, updated 13 years ago by atrandafir.

This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)

7 0
17 followers
Viewed: 46 307 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL

Simplified meta tags

Created 14 years ago by Y!!, updated 14 years ago by Y!!.

If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

13 0
17 followers
Viewed: 56 640 times
Version: 1.1
Category: Tutorials
Tags: