Wiki articles

Showing 121-140 of 799 items.
1 3
3 followers
Viewed: 7 041 times
Version: 1.1
Category: How-tos

How to Reuse File Upload Code via Behavior

Created 5 years ago by Ahamed Rifaideen, updated 5 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: 8 529 times
Version: 1.1
Category: How-tos

Generate CTreeview from database table and update a model

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 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: 9 213 times
Version: 1.1
Category: How-tos

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

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 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: 18 636 times
Version: 1.1
Category: How-tos

Insert a model record using CGridview

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

CGridview displays existent rows of the table (using DataProvider)

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

Yii tinymce结合syntaxHighlighter和syntax

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

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

1 0
0 follower
Viewed: 10 660 times
Version: 1.1
Category: Tutorials

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

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

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

1 1
3 followers
Viewed: 17 303 times
Version: 1.1
Category: Tips

TimeZone dropDown

Created 6 years ago by Tibor Katelbach, updated 6 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: 11 155 times
Version: 1.1
Category: How-tos

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.

The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

1 0
37 followers
Viewed: 14 808 times
Version: 2.0
Category: How-tos

Creating HTML code using Jamboree Panels

Created 6 years ago by bluyell, updated 6 years ago by bluyell.
2 0
2 followers
Viewed: 12 334 times
Version: 1.1
Category: Tutorials

Make an ajax request to another server using JSONP

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 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: 10 522 times
Version: 1.1
Category: Tips

Model validation for field ranges using yii2-field-range extension

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.

The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

0 0
37 followers
Viewed: 19 422 times
Version: 2.0
Category: Tips

Find geolocation info of client through another API

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 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: 5 633 times
Version: 1.1
Category: How-tos

using 'whenClient' for complex client side validation

Created 5 years ago by thiagoc7, updated 5 years ago by thiagoc7.

You have a 'Category' model with Id, Name and Visibility (boolean, where 0 = Public, and 1 = Private).

0 0
3 followers
Viewed: 11 176 times
Version: 2.0
Category: How-tos

Insert data from database to another database table

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

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

1 0
2 followers
Viewed: 9 173 times
Version: 1.1
Category: Tutorials

DB Driven CMenu (Widget)

Created 5 years ago by Preacher, updated 5 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: 4 717 times
Version: 1.1
Category: Tutorials

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 23 827 times
Version: 1.1
Category: How-tos

Upload Files to Rackspace Cloud Files CDN

Created 6 years ago by StephenMiracle, updated 6 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: 14 273 times
Version: 1.1
Category: Tutorials

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

Created 8 years ago by Rodrigo Coelho, updated 8 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: 10 176 times
Version: 1.1
Category: Tutorials