Wiki articles

Showing 261-280 of 651 items.
2 0
1 follower
Viewed: 19 225 times
Version: 1.1
Category: How-tos
3 0
4 followers
Viewed: 20 900 times
Version: 1.1
Category: How-tos

pass variables or content block from view file to layout file

Created 12 years ago by yiqing95, updated 12 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: 51 361 times
Version: 1.1
Category: How-tos

Localized version of CFormatter

Created 12 years ago by marcovtwout, updated 10 years ago by marcovtwout.

To replace the application component 'format', which is registered by CApplication by default, you can put this in your application 'components' config:

2 0
5 followers
Viewed: 10 498 times
Version: 1.1
Category: How-tos

Create custom button button with AJAX function in CGridView

Created 12 years ago by nkd, updated 12 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: 68 056 times
Version: 1.1
Category: How-tos

Ember.js with Yii REST backend,demo application

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

Clone the git repo - git clone git://github.com/drumaddict/ember-yii.git - or download it To install,follow these steps.

8 0
12 followers
Viewed: 41 335 times
Version: 1.1
Category: Others

Install, update and use Yii with WAMP server

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

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

0 0
5 followers
Viewed: 88 964 times
Version: 1.1
Category: How-tos

URL management for Websites with secure and nonsecure pages

Created 12 years ago by qiang, updated 12 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: 59 070 times
Version: 1.1
Category: How-tos
Tags: URL

Setting static modules' properties in config

Created 12 years ago by Alexander Palamarchuk, updated 12 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 574 times
Version: 1.1
Category: Tips
Tags: config, module

Making friends' configs, DB credentials and paths with version control

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

In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test s...

1 1
4 followers
Viewed: 18 157 times
Version: 1.1
Category: Tips
Tags: config

Hyphenation of routes in URL management

Created 12 years ago by qiang, updated 12 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: 36 021 times
Version: 1.1
Category: How-tos
Tags: URL

How to display static pages in Yii with database content?

Created 12 years ago by yasen, updated 11 years ago by yasen.

To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

3 0
13 followers
Viewed: 43 068 times
Version: 1.1
Category: Tutorials

simple CSV export

Created 12 years ago by bluyell, updated 11 years ago by bluyell.
2 0
13 followers
Viewed: 51 936 times
Version: 1.1
Category: How-tos
Tags: csv, excel, export

Serial Numbers (item counts) in GridView

Created 12 years ago by PeRoChAk, updated 12 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: 18 495 times
Version: 1.1
Category: How-tos

A simple go back button widget

Created 12 years ago by CTala, updated 12 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: 37 607 times
Version: 1.1
Category: How-tos

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

Created 12 years ago by Rodrigo Coelho, updated 12 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: 14 178 times
Version: 1.1
Category: Tips
Tags:

The complete beginner's study guide for the Yii Framework

Created 12 years ago by Rodrigo Coelho, updated 12 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: 115 540 times
Version: 1.1
Category: Tips

Using phpseclib with Yii

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

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6 followers
Viewed: 19 752 times
Version: 1.1
Category: How-tos
Tags: security

Additional form data with XUpload

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

In this article you'll learn how to send additional form data when uploading files using XUpload widget

7 0
13 followers
Viewed: 47 236 times
Version: 1.1
Category: How-tos

Javascript and AJAX with Yii

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

This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".

23 0
30 followers
Viewed: 182 049 times
Version: 1.1
Category: How-tos