Wiki articles

Showing 21-40 of 822 items.

How to Create and Use Validator Using Regular expressions

Created a year ago by aayushmhu.

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression

4 0
1 follower
Viewed: 73 324 times
Version: 2.0
Category: How-tos

CJuiDatePicker extended for more/better language support

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

The number of languages supported by the standard CJuiDatePicker implementation is limited and the language code to use is different from the application's language code. This Wiki shows how to improve on that.

1 0
1 follower
Viewed: 11 479 times
Version: 1.1
Category: How-tos

How to make use of a fragment cache

Created 15 years ago by dalip, updated 13 years ago by wei.
1 0
2 followers
Viewed: 17 228 times
Version: 1.1
Category: Tutorials

using editors of yiibooster - fix issues - configuration

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

if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

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

YII2 Pagination Options

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

solution here If we are using default pagination option like

1 0
1 follower
Viewed: 18 251 times
Version: 2.0
Category: Tips

Integrating Yii3 packages into WordPress

Created 24 days ago by Gabriel A. López López, updated 24 days ago by Gabriel A. López López.

I was recently assigned with the task of integrating several extensive forms into a WordPress website. These forms comprised numerous fields, intricate validation rules, dynamic fields (one to many relationships) and even interdependencies, where employing PHP inheritance could mitigate code duplication.

0 0
1 follower
Viewed: 1 796 times
Version: 3.0
Category: How-tos

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 10 years ago by Gerhard Liebenberg, updated 9 years ago by Gerhard Liebenberg.

If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

3 0
2 followers
Viewed: 23 215 times
Version: 1.1
Category: How-tos

`forceCopy` per Asset Bundle

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

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 12 816 times
Version: 2.0
Category: How-tos

How to create a custom exception and show it friendly with CJuiDialog

Created 9 years ago by Fábio Sales, updated 9 years ago by Fábio Sales.

Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.

0 0
1 follower
Viewed: 22 255 times
Version: 1.1
Category: How-tos

How to use Flash, Zend AMF and Yii Framework

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

This is a simple demo how to use Zend_AMF with Yii.

3 0
6 followers
Viewed: 15 775 times
Version: 1.1
Category: Tutorials

Selecting best language based on Browser language and available languages.

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

Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

2 0
1 follower
Viewed: 15 416 times
Version: 1.1
Category: Tips

How to preload dropdowns in CForm

Created 10 years ago by transistor, updated 10 years ago by transistor.

So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems.
You got your CFormModel, CForm and the actual Form, right?
Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.

1 0
2 followers
Viewed: 11 847 times
Version: Unknown (update)
Category: Tips

Things to Consider when application hosting on AppFog

Created 9 years ago by VINAY Kr. SHARMA, updated 9 years ago by VINAY Kr. SHARMA.

I faced many issues when hosted our company website on AppFog.

1 0
1 follower
Viewed: 7 914 times
Version: 1.1
Category: Tips

Using PayPal IPN with Yii2

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

I'm using PayPal's script from

0 0
1 follower
Viewed: 12 971 times
Version: 2.0
Category: Tips

Display image on CGridView column and open a fancy-box

Created 10 years ago by Ankit Modi, updated 10 years ago by Ankit Modi.

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 17 798 times
Version: Unknown (update)
Category: Tutorials

Using Yii Gallery Manager in your Yii 1.x application

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

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 15 302 times
Version: 1.1
Category: How-tos

How to log context information to logger (session id, user, ...)

Created 14 years ago by olafure, updated 11 years ago by ajsharma.

Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.

2 0
5 followers
Viewed: 24 185 times
Version: 1.1
Category: Tutorials
Tags: Logging

Relation scope to test existence of related records ("EXISTS")

Created 9 years ago by le_top, updated 8 years ago by le_top.

When one needs to select a record in a table that do not have related records through a relation, it is generally suggested to use a subquery. Personnaly, I prefer a high level approach, and I have a method to do it with scopes.

1 0
2 followers
Viewed: 13 749 times
Version: 1.1
Category: How-tos

make chart from custome queries using amcharts widget

Created 10 years ago by Narender Negi, updated 10 years ago by trond.

Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

0 0
3 followers
Viewed: 8 598 times
Version: Unknown (update)
Category: How-tos

Make theme and layout option in your site

Created 10 years ago by Narender Negi, updated 10 years ago by trond.

Here i am writing code how to add option of theme change and layout change in your website.

0 0
4 followers
Viewed: 15 940 times
Version: Unknown (update)
Category: How-tos
Tags: layouts, theme