Wiki articles

Showing 121-140 of 811 items.

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

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

Insert a model record using CGridview

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

CGridview displays existent rows of the table (using DataProvider)

2 0
1 follower
Viewed: 14 635 times
Version: 1.1
Category: How-tos

Yii tinymce结合syntaxHighlighter和syntax

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

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

1 0
0 follower
Viewed: 11 481 times
Version: 1.1
Category: Tutorials

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

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

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

1 1
3 followers
Viewed: 19 603 times
Version: 1.1
Category: Tips

TimeZone dropDown

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

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

Created 6 years ago by Kartik V, updated 6 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: 16 571 times
Version: 2.0
Category: How-tos

Creating HTML code using Jamboree Panels

Created 7 years ago by bluyell, updated 7 years ago by bluyell.
2 0
2 followers
Viewed: 13 519 times
Version: 1.1
Category: Tutorials

Make an ajax request to another server using JSONP

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

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

Created 6 years ago by Kartik V, updated 6 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: 22 129 times
Version: 2.0
Category: Tips

Find geolocation info of client through another API

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

using 'whenClient' for complex client side validation

Created 6 years ago by thiagoc7, updated 6 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: 15 035 times
Version: 2.0
Category: How-tos

Insert data from database to another database table

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

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

1 0
2 followers
Viewed: 11 484 times
Version: 1.1
Category: Tutorials

DB Driven CMenu (Widget)

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

Twitter Bootstrap style Breadcrumbs

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

will generate twitter bootstrap styled breadcrumb code:

3 1
4 followers
Viewed: 25 289 times
Version: 1.1
Category: How-tos

Upload Files to Rackspace Cloud Files CDN

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

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

Created 9 years ago by Rodrigo Coelho, updated 9 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: 11 256 times
Version: 1.1
Category: Tutorials

Managing different Bootstrap form layouts with yii2-field-range extension.

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

This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that 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: 25 991 times
Version: 2.0
Category: How-tos

How to use EzComponents in Yii

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

change your index.php

4 0
6 followers
Viewed: 11 529 times
Version: 1.1
Category: How-tos

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

Created 7 years ago by le_top, updated 7 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: 9 620 times
Version: 1.1
Category: Tips