Wiki articles in category Tutorials

Showing 1-20 of 258 items.

Gettext and Poedit HOWTO

Created 4 years ago by Maug Lee, updated 4 years ago by Maug Lee.

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 8 982 times
Version: 1.1
Category: Tutorials

How to filter data using a dropdown list?

Created 10 years ago by qiang, updated 6 years ago by Yang He.

A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.

7 0
6 followers
Viewed: 33 878 times
Version: 1.1
Category: Tutorials
Tags:

How to use Highslide for image popups

Created 10 years ago by mocapapa, updated 8 years ago by wei.

>Highslide JS is an open source JavaScript software, offering a Web 2.0 approach to popup windows. It streamlines the use of thumbnail images and HTML popups on web pages. > > + No plugins like Flash or Java required. > + Popup blockers are no problem. The content expands within the active browser window. > + Single click. After opening the image or HTML popup, the user can scroll further down...

1 0
2 followers
Viewed: 22 774 times
Version: 1.1
Category: Tutorials
Tags: image, popups

How to make use of a fragment cache

Created 10 years ago by dalip, updated 8 years ago by wei.
1 0
2 followers
Viewed: 12 967 times
Version: 1.1
Category: Tutorials

How to use Flash, Zend AMF and Yii Framework

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

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

3 0
6 followers
Viewed: 13 140 times
Version: 1.1
Category: Tutorials

Display image on CGridView column and open a fancy-box

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

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 15 219 times
Version: Unknown (update)
Category: Tutorials

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

Created 10 years ago by olafure, updated 7 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: 18 599 times
Version: 1.1
Category: Tutorials
Tags: Logging

How to make customizable Db Table prefixes using ActiveRecord

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

Yii's ActiveRecord classes are powerful, but they fall short when you want to have a configurable table prefix for your application.

0 0
1 follower
Viewed: 18 669 times
Version: 1.1
Category: Tutorials
Tags:

Collaborative software with git

Created 7 years ago by sensorario, updated 7 years ago by Maurizio Domba Cerin.

The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.

9 0
9 followers
Viewed: 10 102 times
Version: 1.1
Category: Tutorials

Using the configuration file, explain what can be configured.

Created 9 years ago by atrandafir, updated 6 years ago by Yang He.

The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

17 0
15 followers
Viewed: 72 951 times
Version: 1.1
Category: Tutorials
Tags:

Deploy yii on pagoda box

Created 7 years ago by francis ja, updated 7 years ago by francis ja.

pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command

4 0
5 followers
Viewed: 9 536 times
Version: 1.1
Category: Tutorials

A simple widget - jump2link

Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

namespace app\components;

0 0
1 follower
Viewed: 8 814 times
Version: 2.0
Category: Tutorials

i18n for your model in just 1 line

Created 9 years ago by mintao, updated 8 years ago by Orteko.

A simple trick to get the localized version of a model field is to add this little method to your models.

12 0
9 followers
Viewed: 15 497 times
Version: 1.1
Category: Tutorials
Tags: i18n

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created 3 years ago by softark, updated 3 years ago by softark.

It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

4 0
4 followers
Viewed: 29 420 times
Version: 2.0
Category: Tutorials

Widget Personalizado

Created 7 years ago by Cálcio, updated 4 years ago by Cálcio.

$this->render('index', array( 'dataProvider' => $dataProvider, )); `

6 0
5 followers
Viewed: 8 927 times
Version: 1.1
Category: Tutorials

CMenu widget like bootstrap navbar with submenu

Created 3 years ago by kv4nt, updated 3 years ago by kv4nt.
0 0
1 follower
Viewed: 15 820 times
Version: 1.1
Category: Tutorials

Background task with Ajax

Created 3 years ago by Alexandre Rodichevski, updated 3 years ago by Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 17 483 times
Version: 1.1
Category: Tutorials

MVC primer and 5 minute form walkthrough

Created 7 years ago by rix.rix., updated 6 years ago by rix.rix..

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 23 282 times
Version: 1.1
Category: Tutorials

Named scope - Get orphan AR without losing primary key

Created 8 years ago by cma, updated 8 years ago by Steve Friedl.

Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

public function scopeUnused( $useAnd = true )
    {
        $join = " left outer join composed_by j on t.ID = j.ID ";
        $condition = ' j.ID Is Null';

0 0
2 followers
Viewed: 7 254 times
Version: 1.1
Category: Tutorials
Tags:
2 0
9 followers
Viewed: 11 558 times
Version: 1.1
Category: Tutorials