Wiki articles

Showing 221-240 of 651 items.

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

Created 10 years ago by hehbhehb, updated 9 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: 84 304 times
Version: 1.1
Category: How-tos

How to implement multiple page layouts in an application

Created 15 years ago by qiang, updated 13 years ago by wei.

In this tutorial, we describe how to implement multiple layouts for action views in an application. As an example, we assume that the pages in our application will use three different layouts:

19 0
22 followers
Viewed: 125 510 times
Version: 1.1
Category: Tutorials
Tags: layout
6 1
9 followers
Viewed: 58 767 times
Version: 1.1
Category: How-tos

How to add a named scope to ActiveRecords with a behavior

Created 14 years ago by Mike, updated 12 years ago by yiqing95.

Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

2 0
10 followers
Viewed: 35 083 times
Version: 1.1
Category: Tutorials
Tags:

Useful Multilanguage extensions collection and use.

Created 10 years ago by cihappy, updated 9 years ago by Rohit Suthar.

What I want to achieve:

2 0
3 followers
Viewed: 9 930 times
Version: 1.1
Category: Tips

How to use markItUp! on a text field for full WYSIWYG editing

Created 14 years ago by lucifurious, updated 13 years ago by wei.

This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

3 0
3 followers
Viewed: 36 907 times
Version: 1.1
Category: Tutorials

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 10 years ago by Ankit Modi, updated 9 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 19 107 times
Version: 1.1
Category: Tutorials

How to handle decimal separators (e.g comma instead of dot) for l18n

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

Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

2 0
10 followers
Viewed: 22 693 times
Version: 1.1
Category: How-tos
Tags:

History Autocomplete

Created 12 years ago by zaccaria, updated 12 years ago by Maurizio Domba Cerin.

In application development we often have to choose how to mange recurrent values.

3 0
9 followers
Viewed: 19 857 times
Version: 1.1
Category: How-tos

CSS, JS and image URL shortcut methods

Created 14 years ago by jonah, updated 11 years ago by jonah.

Below I have created an Html helper with methods to help me locate directories of my assets dynamically. Such assets may include CSS, JavaScript and images.

2 1
4 followers
Viewed: 36 821 times
Version: 1.1
Category: Tutorials
Tags: URL

Multiple file upload handler

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

Hi,

5 0
7 followers
Viewed: 33 183 times
Version: 1.1
Category: Tutorials

New Relic Error Alert with Yii

Created 10 years ago by simon604, updated 9 years ago by razvanphp.

Introduction

2 0
4 followers
Viewed: 20 645 times
Version: 1.1
Category: Tips

get summary of related model via STAT relation

Created 10 years ago by rootbear, updated 10 years ago by YiiJeka.

typical scenario: invoice, invoice items.

4 1
8 followers
Viewed: 27 214 times
Version: 1.1
Category: How-tos

Multiple files uploader with CMultiFileUpload

Created 10 years ago by Interboy, updated 5 years ago by samdark.

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

5 0
8 followers
Viewed: 281 123 times
Version: 1.1
Category: How-tos

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Rohit Suthar.
2 0
5 followers
Viewed: 41 504 times
Version: 1.1
Category: Tips

XSS safe model content

Created 14 years ago by phiras, updated 14 years ago by phiras.

In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

4 0
1 follower
Viewed: 12 820 times
Version: 1.1
Category: Tutorials
Tags:

Ordering Models by Weight with CJuiSortable

Created 14 years ago by Matt Kelliher, updated 11 years ago by Phil Loaiza.

In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

9 0
10 followers
Viewed: 16 481 times
Version: 1.1
Category: Tutorials
Tags:

How to install pdo_oci

Created 14 years ago by gallego123, updated 12 years ago by gallego123.

From: http://lacot.org/ and me.

1 0
3 followers
Viewed: 36 422 times
Version: 1.1
Category: How-tos

two or more different collected data in one CGridView

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

Assume that you have teachers and students model.

2 1
6 followers
Viewed: 18 374 times
Version: 1.1
Category: How-tos

Multiple Databases and Multiple Domains

Created 13 years ago by got 2 doodle, updated 13 years ago by Maurizio Domba Cerin.

Add these lines in /config/main.php

'components'=>array(
.........
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=database1',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => 'itsasecret',
			'charset' => 'utf8',
		),
		'db2'=>array(
		    'class' => 'CDbConnection',
			'connectionString' => 'mysql:host=localhost;dbname=databa...
13 2
15 followers
Viewed: 55 354 times
Version: 1.1
Category: Tutorials
Tags: database