Wiki articles

Showing 261-280 of 651 items.
2 0
1 follower
Viewed: 18 146 times
Version: 1.1
Category: How-tos
3 0
4 followers
Viewed: 20 338 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 393 times
Version: 1.1
Category: How-tos

Localized version of CFormatter

Created 11 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 068 times
Version: 1.1
Category: How-tos

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 358 times
Version: 1.1
Category: How-tos

Ember.js with Yii REST backend,demo application

Created 11 years ago by drumaddict, updated 10 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: 40 682 times
Version: 1.1
Category: Others

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 931 times
Version: 1.1
Category: How-tos

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 132 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 211 times
Version: 1.1
Category: Tips
Tags: config, module

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

Created 11 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: 17 365 times
Version: 1.1
Category: Tips
Tags: config

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

How to display static pages in Yii with database content?

Created 11 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: 42 240 times
Version: 1.1
Category: Tutorials

simple CSV export

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

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 942 times
Version: 1.1
Category: How-tos

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 950 times
Version: 1.1
Category: How-tos

[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:

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 952 times
Version: 1.1
Category: Tips

Using phpseclib with Yii

Created 11 years ago by nkd, updated 11 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: 18 998 times
Version: 1.1
Category: How-tos
Tags: security

Additional form data with XUpload

Created 11 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: 46 556 times
Version: 1.1
Category: How-tos

Javascript and AJAX with Yii

Created 11 years ago by François Gannaz, updated 10 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: 180 207 times
Version: 1.1
Category: How-tos