Wiki articles in category Tutorials

Showing 1-20 of 264 items.

DB Driven CMenu (Widget)

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

Database Driven CMenu

Created 10 years ago by Preacher, updated 10 years ago by CeBe.

Purpose

0 0
4 followers
Viewed: 7 819 times
Version: 1.1
Category: Tutorials
Tags:

Profiling user requests

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

How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

1 0
3 followers
Viewed: 9 127 times
Version: 1.1
Category: Tutorials

Help pages using Markdown view renderer

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

This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

0 0
4 followers
Viewed: 9 203 times
Version: Unknown (update)
Category: Tutorials

Named scope - Get orphan AR without losing primary key

Created 13 years ago by cma, updated 13 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: 9 378 times
Version: 1.1
Category: Tutorials
Tags:

Translation from .txt file

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

Translation from .txt file Note:

0 2
4 followers
Viewed: 9 981 times
Version: 1.1
Category: Tutorials

Widget Personalizado

Created 11 years ago by Cálcio, updated 9 years ago by Cálcio.

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

6 0
4 followers
Viewed: 10 542 times
Version: 1.1
Category: Tutorials

Mantis Manager: An Asset Manager that minifies, combines, and publishes

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

Hello everybody.

4 0
8 followers
Viewed: 10 894 times
Version: Unknown (update)
Category: Tutorials
Tags: assets, heroku

Migration the database schema to another one

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

In this wiki I will show how to copy a schema from a database to another one

1 0
5 followers
Viewed: 11 309 times
Version: 1.1
Category: Tutorials

ePay Integration - Bulgarian Payment Provider

Created 11 years ago by yasen, updated 11 years ago by yasen.

} ` V. The Order model would start with:

class Order extends CActiveRecord
{
	const STATUS_INITIATED = 1;
	const STATUS_CANCELED = 2;
	const STATUS_EXPIRED = 3;
	const STATUS_PAID = 4;
	public $statuses = array(
		self::STATUS_INITIATED => 'Initiated',
		self::STATUS_CANCELED => 'Canceled',
		self::STATUS_EXPIRED => 'Expired',
		self::STATUS_PAID => 'Paid',
	);
// more cod...
6 0
5 followers
Viewed: 11 506 times
Version: 1.1
Category: Tutorials

How to add an analogue clock widget on your skeleton application

Created 13 years ago by mocapapa, updated 13 years ago by mocapapa.


Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

1 0
1 follower
Viewed: 11 729 times
Version: 1.1
Category: Tutorials
Tags:

Deploy yii on pagoda box

Created 12 years ago by francis ja, updated 11 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: 11 923 times
Version: 1.1
Category: Tutorials

Where to implement knowledge about the addresses of the controller?

Created 9 years ago by Petr.Grishin, updated 9 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 12 257 times
Version: 1.1
Category: Tutorials

Ativando temas no Zii Widgets

Created 13 years ago by Ivan Wilhelm, updated 13 years ago by Ivan Wilhelm.

Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

4 2
4 followers
Viewed: 12 351 times
Version: 1.1
Category: Tutorials

Making a CGridView to keep the selection between page changes

Created 10 years ago by bluyell, updated 10 years ago by CeBe.

You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.

2 0
3 followers
Viewed: 12 690 times
Version: 1.1
Category: Tutorials

How to display images in CJuiAutoComplete without extenstions

Created 9 years ago by Asmaa, updated 5 years ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 12 794 times
Version: 1.1
Category: Tutorials

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 817 times
Version: 1.1
Category: Tutorials
Tags:

Automatically get the SVN Revision Number of your Project

Created 10 years ago by jcagentzero, updated 9 years ago by jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 12 824 times
Version: all
Category: Tutorials

Gettext and Poedit HOWTO

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

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 13 019 times
Version: 1.1
Category: Tutorials

Yii tinymce结合syntaxHighlighter和syntax

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

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

1 0
0 follower
Viewed: 13 170 times
Version: 1.1
Category: Tutorials