Wiki articles

Showing 81-100 of 651 items.
1 3
3 followers
Viewed: 10 329 times
Version: 1.1
Category: How-tos

How to Reuse File Upload Code via Behavior

Created 9 years ago by Ahamed Rifaideen, updated 9 years ago by Ahamed Rifaideen.

hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.

1 0
1 follower
Viewed: 10 716 times
Version: 1.1
Category: How-tos

Generate CTreeview from database table and update a model

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)

1 0
1 follower
Viewed: 13 592 times
Version: 1.1
Category: How-tos

Update related models of a model using listBox and checkBoxList in the form

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

1 0
1 follower
Viewed: 23 466 times
Version: 1.1
Category: How-tos

Insert a model record using CGridview

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

CGridview displays existent rows of the table (using DataProvider)

2 0
1 follower
Viewed: 17 476 times
Version: 1.1
Category: How-tos

Yii tinymce结合syntaxHighlighter和syntax

Created 12 years ago by Darwin Wen, updated 12 years ago by Darwin Wen.

首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,

1 0
0 follower
Viewed: 13 134 times
Version: 1.1
Category: Tutorials

Speedup unit tests by moving MySql data to memory (in Ubuntu)

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

There are several ways to speedup slow unit tests which interact with database:

1 1
3 followers
Viewed: 22 595 times
Version: 1.1
Category: Tips

TimeZone dropDown

Created 11 years ago by Tibor Katelbach, updated 11 years ago by Maurizio Domba Cerin.

I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

3 0
4 followers
Viewed: 14 135 times
Version: 1.1
Category: How-tos

Creating HTML code using Jamboree Panels

Created 11 years ago by bluyell, updated 11 years ago by bluyell.
2 0
2 followers
Viewed: 16 758 times
Version: 1.1
Category: Tutorials

Make an ajax request to another server using JSONP

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 13 746 times
Version: 1.1
Category: Tips

Find geolocation info of client through another API

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)

1 0
2 followers
Viewed: 8 751 times
Version: 1.1
Category: How-tos

Insert data from database to another database table

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 15 482 times
Version: 1.1
Category: Tutorials

DB Driven CMenu (Widget)

Created 9 years ago by Preacher, updated 9 years ago by Preacher.

Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:

1 0
1 follower
Viewed: 6 458 times
Version: 1.1
Category: Tutorials

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 53 892 times
Version: 1.1
Category: How-tos

Upload Files to Rackspace Cloud Files CDN

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

** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

2 0
3 followers
Viewed: 17 332 times
Version: 1.1
Category: Tutorials

[PT-BR] Proteção Contra Logout CSRF

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

CSRF é o acrônimo para Cross-site request forgery.
CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

2 1
3 followers
Viewed: 13 590 times
Version: 1.1
Category: Tutorials

How to use EzComponents in Yii

Created 12 years ago by Ehsanjs, updated 12 years ago by samdark.

change your index.php

4 0
6 followers
Viewed: 13 267 times
Version: 1.1
Category: How-tos

Patching PHP code (used as a library) without changing the original code!

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

The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article [Redefine PHP class methods or class](http://stackoverflow.com/questions/137006/ph...

4 0
5 followers
Viewed: 13 054 times
Version: 1.1
Category: Tips

Where to implement knowledge about the addresses of the controller?

Created 9 years ago by Petr.Grishin, updated 9 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 12 122 times
Version: 1.1
Category: Tutorials