Wiki articles

Showing 141-160 of 651 items.

How to register scripts and css

Created 9 years ago by oligalma, updated 8 years ago by oligalma.

Then, we write this in the config > main.php:

2 0
3 followers
Viewed: 93 696 times
Version: 1.1
Category: How-tos

How To Connect With Twitter From Yii

Created 14 years ago by lucifurious, updated 13 years ago by wei.

Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.

4 1
12 followers
Viewed: 33 132 times
Version: 1.1
Category: Tutorials
Tags: twitter

Console Based CAuthManager Helper

Created 9 years ago by bluyell, updated 9 years ago by bluyell.

This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.

0 0
1 follower
Viewed: 12 340 times
Version: 1.1
Category: How-tos

Add Beautiful Radio/Checkbox Buttons To Grid

Created 10 years ago by waterloomatt, updated 9 years ago by Rohit Suthar.

The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.

6 0
16 followers
Viewed: 37 057 times
Version: 1.1
Category: How-tos

How to extend yiic shell commands

Created 14 years ago by qiang, updated 13 years ago by wei.

While yiic shell tool is very convenient at generating skeleton code in our application, the generated code is not always what we want. For example, we may want the generated code to carry specific copyright information; we may want to use our own coding style; we may want to add more features; and so on. All these can be accomplished easily in Yii.

2 0
5 followers
Viewed: 33 161 times
Version: 1.1
Category: Tutorials
Tags: yiic

Single PHP entry point with Nginx

Created 8 years ago by MadAnd, updated 8 years ago by MadAnd.

In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.

4 0
3 followers
Viewed: 17 582 times
Version: all
Category: How-tos

How to use default layout for error pages instead of errorXXX views

Created 14 years ago by idle sign, updated 11 years ago by Yang He.

The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

4 0
3 followers
Viewed: 43 045 times
Version: 1.1
Category: Tutorials
Tags:

Beginner / Intro Tutorials (please add to / update this list)

Created 14 years ago by Ivo Roper, updated 11 years ago by Gerhard Liebenberg.

This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

4 0
8 followers
Viewed: 48 964 times
Version: 1.1
Category: Tutorials
Tags:

Simple Ajax popup

Created 10 years ago by Rajith R, updated 9 years ago by Rajith R.

Simple Ajax popup view with Ajax link

5 0
9 followers
Viewed: 51 271 times
Version: 1.1
Category: Tutorials

How to have truly multilingual URLs

Created 8 years ago by oligalma, updated 2 years ago by oligalma.

We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

0 0
3 followers
Viewed: 16 895 times
Version: 1.1
Category: How-tos

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created 12 years ago by samdark, updated 12 years ago by samdark.

Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

21 0
5 followers
Viewed: 20 327 times
Version: 1.1
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 10 years ago by Interboy, updated 9 years ago by xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 34 782 times
Version: 1.1
Category: How-tos

BUM - Add Additional Info to a User

Created 10 years ago by firefly, updated 9 years ago by Anibal.

How to add additional information to a user when using BUM extension?

0 0
4 followers
Viewed: 21 851 times
Version: 1.1
Category: How-tos

How to catch and log MySQL deadlock errors

Created 12 years ago by seb, updated 12 years ago by seb.

This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.

4 0
7 followers
Viewed: 20 609 times
Version: 1.1
Category: Tips
Tags: database

Multilanguage and SEO friendly

Created 10 years ago by Interboy, updated 9 years ago by Rohit Suthar.

In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

4 0
8 followers
Viewed: 29 406 times
Version: 1.1
Category: How-tos

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 13 years ago by Yeti, updated 13 years ago by Trejder.

Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL...

2 0
1 follower
Viewed: 45 705 times
Version: 1.1
Category: Tutorials
Tags:

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 11 years ago by pckabeer, updated 11 years ago by pckabeer.

Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue').
We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options.
This is a rewrite of c@cba in the wiki article of [enumDropdownList](http://www...

6 0
3 followers
Viewed: 25 063 times
Version: 1.1
Category: How-tos

Yii CGridView add custom button

Created 10 years ago by Arockia Johnson SR, updated 10 years ago by CeBe.

Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

3 0
7 followers
Viewed: 49 058 times
Version: 1.1
Category: How-tos

Interactive mode command-line command for Yii1

Created 7 years ago by Trejder, updated 7 years ago by Trejder.

For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

0 0
1 follower
Viewed: 19 012 times
Version: 1.1
Category: How-tos

How to: use github for download yii, create new app, and store our modules or extensions.

Created 11 years ago by sensorario, updated 11 years ago by Maurizio Domba Cerin.

Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.

8 0
4 followers
Viewed: 22 051 times
Version: 1.1
Category: How-tos
Tags: git, github