Wiki articles

Showing 441-460 of 823 items.

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 572 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 147 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 019 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 062 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 935 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 494 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 606 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 171 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 536 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 743 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 231 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 041 times
Version: 1.1
Category: How-tos

CJuiTabs Content

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

When I used CJuiTabs I did something. They are

2 0
7 followers
Viewed: 20 067 times
Version: 1.1
Category: Tips
Tags: CJuiTabs

Creating Yii applications with composer

Created 12 years ago by schmunk, updated 11 years ago by SleepWalker.

When creating web-application projects, you can add a great variety of different extensions, modules, plugins or scripts to your code-base. But maintaining a stable combination and updating certain packages can become a hard task.

27 0
32 followers
Viewed: 116 117 times
Version: 1.1
Category: Tutorials

Catching bounce messages (NDR) and piping them to a Yii command

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

But in the supposedly small share of webapps that don't ask users to activate their accounts, you can end up with a number of bounce messages and non-accessible active accounts.

1 0
7 followers
Viewed: 19 819 times
Version: 1.1
Category: Tutorials

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 12 years ago by Antonio Ramirez, updated 12 years ago by Antonio Ramirez.

YiiBackboneBoilerplate, aims to provide Yii Backbone developers with an application folder to ease the startup of their projects. It uses the flexibility of our YiiBoilerplate with a twist for BackboneJS applications.

9 0
22 followers
Viewed: 31 417 times
Version: 1.1
Category: Others

Elementary introduction to using jQuery ajax and the yii framework

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

In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.

2 0
15 followers
Viewed: 54 176 times
Version: 1.1
Category: How-tos
Tags: AJAX

Ajax form submiting in Yii

Created 12 years ago by sirin k, updated 7 years ago by Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 169 445 times
Version: 1.1
Category: Tutorials

How to hide index.php on Microsoft Windows Server with IIS7

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

I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

6 0
6 followers
Viewed: 70 427 times
Version: 1.1
Category: How-tos

How to "masquerade" a non-required form element as 'required' one (in the view only)

Created 12 years ago by Boaz, updated 7 years ago by mrun.

Consider the following use case:

5 1
6 followers
Viewed: 26 027 times
Version: 1.1
Category: How-tos