Wiki articles

Showing 441-460 of 823 items.

Setting static modules' properties in config

Created 12 years ago by Alexander Palamarchuk Alexander Palamarchuk, updated 12 years ago by Alexander Palamarchuk 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: 15 173 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 Alexander Palamarchuk, updated 12 years ago by ajsharma 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: 19 149 times
Version: 1.1
Category: Tips
Tags: config

Hyphenation of routes in URL management

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

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

15 0
21 followers
Viewed: 36 911 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 yasen, updated 12 years ago by yasen 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: 44 103 times
Version: 1.1
Category: Tutorials

simple CSV export

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

Serial Numbers (item counts) in GridView

Created 12 years ago by PeRoChAk PeRoChAk, updated 12 years ago by Maurizio Domba Cerin 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: 19 228 times
Version: 1.1
Category: How-tos

A simple go back button widget

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

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

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

The complete beginner's study guide for the Yii Framework

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

Using phpseclib with Yii

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

Additional form data with XUpload

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

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

7 0
13 followers
Viewed: 48 301 times
Version: 1.1
Category: How-tos

Javascript and AJAX with Yii

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

CJuiTabs Content

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

When I used CJuiTabs I did something. They are

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

Creating Yii applications with composer

Created 12 years ago by schmunk schmunk, updated 12 years ago by SleepWalker 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: 118 158 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bennouna bennouna, updated 11 years ago by bennouna 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: 20 537 times
Version: 1.1
Category: Tutorials

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 12 years ago by Antonio Ramirez Antonio Ramirez, updated 12 years ago by Antonio Ramirez 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: 32 390 times
Version: 1.1
Category: Others

Elementary introduction to using jQuery ajax and the yii framework

Created 12 years ago by dhimes dhimes, updated 12 years ago by François Gannaz 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: 56 747 times
Version: 1.1
Category: How-tos
Tags: AJAX

Ajax form submiting in Yii

Created 12 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin 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: 171 287 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by Giuliano Giuliano, updated 12 years ago by Giuliano 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: 71 750 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 Boaz, updated 8 years ago by mrun mrun.

Consider the following use case:

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