Wiki articles

Showing 281-300 of 651 items.

[pt-br] O guia de estudos do Yii para iniciantes

Created 11 years ago by Rodrigo Coelho, updated 11 years ago by Rodrigo Coelho.

You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

1 0
3 followers
Viewed: 13 808 times
Version: 1.1
Category: Tips
Tags:

A simple go back button widget

Created 11 years ago by CTala, updated 11 years ago by bennouna.

We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

2 1
6 followers
Viewed: 36 952 times
Version: 1.1
Category: How-tos

Serial Numbers (item counts) in GridView

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

Sometime we need to display numbers of items per page with their counting as a serial number.

0 0
4 followers
Viewed: 17 943 times
Version: 1.1
Category: How-tos

Hyphenation of routes in URL management

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

In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.

15 0
21 followers
Viewed: 35 481 times
Version: 1.1
Category: How-tos
Tags: URL

Setting static modules' properties in config

Created 11 years ago by Alexander Palamarchuk, updated 11 years ago by Alexander Palamarchuk.

You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.

1 1
2 followers
Viewed: 14 212 times
Version: 1.1
Category: Tips
Tags: config, module
9 0
15 followers
Viewed: 32 023 times
Version: 1.1
Category: Tips

URL management for Websites with secure and nonsecure pages

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

In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.

19 0
34 followers
Viewed: 58 138 times
Version: 1.1
Category: How-tos
Tags: URL

Install, update and use Yii with WAMP server

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

Here I am describing how you can install and update Yii in WAMP sever.

0 0
5 followers
Viewed: 87 935 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii,Working Out The Details.

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

First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is

class WpController extends Controller
{
    public function init()
    {
	 // note that we disable the layout
        $this->layout = false;
        parent::init();
    }

7 0
13 followers
Viewed: 33 561 times
Version: 1.1
Category: How-tos
Tags: wordpress

Create custom button button with AJAX function in CGridView

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

This will call the controller function using AJAX instead of redirecting the user to the url using GET parameters.

5 0
15 followers
Viewed: 67 359 times
Version: 1.1
Category: How-tos

pass variables or content block from view file to layout file

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

If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

2 0
6 followers
Viewed: 50 395 times
Version: 1.1
Category: How-tos
3 0
4 followers
Viewed: 20 339 times
Version: 1.1
Category: How-tos
2 0
1 follower
Viewed: 18 148 times
Version: 1.1
Category: How-tos

The complete beginner's study guide for the Yii Framework

Created 11 years ago by Rodrigo Coelho, updated 11 years ago by Rodrigo Coelho.

Start studying the MVC pattern. You will understand the roles of the model, the view and the controller and know where goes each part of the code.

12 0
19 followers
Viewed: 113 954 times
Version: 1.1
Category: Tips

Using International Dates

Created 12 years ago by Russell England, updated 11 years ago by nkd.

So here is my complete solution - note that I'm using the 'short' date format throughout.

15 0
24 followers
Viewed: 49 114 times
Version: 1.1
Category: How-tos

XUpload Workflow

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

This wiki describes a more complex workflow using the XUpload widget

28 0
42 followers
Viewed: 94 993 times
Version: 1.1
Category: Tutorials

Image resize on the fly

Created 11 years ago by Tpoxa, updated 11 years ago by Tpoxa.
3 0
11 followers
Viewed: 32 226 times
Version: 1.1
Category: How-tos

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

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

I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it o...

1 0
7 followers
Viewed: 21 292 times
Version: 1.1
Category: Tips

Create your own Validation Rule

Created 12 years ago by nickcv, updated 11 years ago by Gismo.

Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.

59 0
54 followers
Viewed: 272 182 times
Version: 1.1
Category: How-tos

Accessing data in a join table with the related models

Created 12 years ago by fsb, updated 11 years ago by krowe.

Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched.

16 1
30 followers
Viewed: 146 386 times
Version: 1.1
Category: How-tos