Wiki articles in category How-tos

Showing 81-100 of 292 items.

Multilanguage and SEO friendly

Created 5 years ago by Interboy, updated 4 years ago by Rohit Suthar.

In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

4 0
8 followers
Viewed: 25 354 times
Version: 1.1
Category: How-tos

Date Picker by examples

Created 6 years ago by Interboy, updated 4 years ago by Alfa Adhitya.

CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

6 0
7 followers
Viewed: 120 980 times
Version: 1.1
Category: How-tos

BUM - Add Additional Info to a User

Created 6 years ago by firefly, updated 4 years ago by Anibal.

How to add additional information to a user when using BUM extension?

0 0
4 followers
Viewed: 19 655 times
Version: 1.1
Category: How-tos

Remove Byte Order Mark (BOM) from files recursively

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

The problem was that all my web applications ran normally on localhost, but on server the Greek characters (or any other no-english characters) displayed with problems.

2 1
7 followers
Viewed: 24 576 times
Version: all
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 6 years ago by Interboy, updated 5 years ago by xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 28 912 times
Version: 1.1
Category: How-tos

Multiple files uploader with CMultiFileUpload

Created 6 years ago by Interboy, updated 9 months ago by samdark.

Today I will show you how to handle multiple file upload step by step.

4 0
8 followers
Viewed: 273 562 times
Version: 1.1
Category: How-tos

custom sql query results to CDetailView

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

This is a bried guide about displaying of custom sql query results.

3 0
4 followers
Viewed: 38 988 times
Version: 1.1
Category: How-tos

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created 6 years ago by Gerhard Liebenberg, updated 2 years ago by Gerhard Liebenberg.

Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different local time this August compared to last August! It could even be a different date!

6 0
13 followers
Viewed: 26 041 times
Version: 1.1
Category: How-tos

get summary of related model via STAT relation

Created 6 years ago by rootbear, updated 5 years ago by YiiJeka.

typical scenario: invoice, invoice items.

4 1
8 followers
Viewed: 22 819 times
Version: 1.1
Category: How-tos

Add Beautiful Radio/Checkbox Buttons To Grid

Created 6 years ago by waterloomatt, updated 5 years ago by Rohit Suthar.

The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.

6 0
16 followers
Viewed: 30 085 times
Version: 1.1
Category: How-tos

Visualization tree-multi subcategories as listbox or dropdownlist

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

Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

4 0
4 followers
Viewed: 19 759 times
Version: 1.1
Category: How-tos

Multiple Database Connection : Select database based on login user id, Dynamic

Created 6 years ago by Rajith R, updated 5 years ago by parthshah.

create a class file under protected\components named RActiveRecord.php

6 0
12 followers
Viewed: 34 904 times
Version: 1.1
Category: How-tos

CGridView Date Range Without Cookies or Session (External Filtering)

Created 6 years ago by ezekielnoob, updated 4 years ago by ezekielnoob.

Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below: grid

3 0
8 followers
Viewed: 17 905 times
Version: 1.1
Category: How-tos
6 1
9 followers
Viewed: 49 458 times
Version: 1.1
Category: How-tos

how to make a dynamic progress bar to show the percentage or status

Created 6 years ago by hehbhehb, updated 5 years ago by Boaz.

Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

3 0
7 followers
Viewed: 38 285 times
Version: 1.1
Category: How-tos

"safe" and "unsafe" Model validators (massive assignments)

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

Ok, it is a little bit difficult to full understanding the unsafe validator.

2 2
7 followers
Viewed: 28 055 times
Version: 1.1
Category: How-tos

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

Created 6 years ago by Gerhard Liebenberg, updated 5 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: 20 203 times
Version: 1.1
Category: How-tos

using editors of yiibooster - fix issues - configuration

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

Insert a multirow header in CGridView

Created 6 years ago by Peppe, updated 5 years ago by Peppe.

The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way **you can write columns grouping h...

4 0
5 followers
Viewed: 22 228 times
Version: 1.1
Category: How-tos

Building Page Specific Menus using CMenu

Created 6 years ago by mistryb, updated 4 years ago by mistryb.

The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.

0 0
3 followers
Viewed: 14 429 times
Version: 1.1
Category: How-tos
Tags: CMenu