Wiki articles in category Tutorials

Showing 1-20 of 264 items.

First Yii App: CTabView

Created 15 years ago by meanpenguin, updated 11 years ago by Yang He.

Once you are completed with the "Creating First Yii Application", the following can be done.

0 2
1 follower
Viewed: 27 593 times
Version: 1.1
Category: Tutorials
Tags:

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

Q: My yiic tool cannot run model and crud commands. Why?

Created 15 years ago by qiang, updated 15 years ago by mishhh.

Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

0 0
1 follower
Viewed: 15 000 times
Version: 1.1
Category: Tutorials
Tags:

Create Bootstrap5 based Image carousel with thumbnails

Created 4 months ago by pravi, updated 4 months ago by pravi.

Use the following css styles for carousel to work as expected.

0 0
1 follower
Viewed: 24 006 times
Version: 2.0
Category: Tutorials

Display Status image on CGridView column

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

How to display status image on admin gridview.

0 0
5 followers
Viewed: 21 182 times
Version: 1.1
Category: Tutorials

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 829 times
Version: Unknown (update)
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 093 times
Version: 1.1
Category: Tutorials

How to make customizable Db Table prefixes using ActiveRecord

Created 14 years ago by killermonk, updated 14 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: 23 956 times
Version: 1.1
Category: Tutorials
Tags:

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 188 times
Version: Unknown (update)
Category: Tutorials

Simple Jui Autocomplete in yii2

Created 8 years ago by ajith, updated 8 years ago by ajith.

To use jui auto complete widget first add

0 0
3 followers
Viewed: 50 658 times
Version: 2.0
Category: Tutorials

A simple widget - jump2link

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

namespace app\components;

0 0
1 follower
Viewed: 13 169 times
Version: 2.0
Category: Tutorials

CMenu widget like bootstrap navbar with submenu

Created 8 years ago by kv4nt, updated 8 years ago by kv4nt.
0 0
1 follower
Viewed: 22 841 times
Version: 1.1
Category: Tutorials

Background task with Ajax

Created 8 years ago by Alexandre Rodichevski, updated 8 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: 25 535 times
Version: 1.1
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 376 times
Version: 1.1
Category: Tutorials
Tags:

Working with relational removals by yii2

Created 7 years ago by AndroideLP, updated 6 years ago by Jairus Martin.

This tutorial shows you how to safely remove records between relationships.

0 0
2 followers
Viewed: 35 387 times
Version: 2.0
Category: Tutorials

default csrf security and ajax post in one controller

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

Hello Yii friends

0 3
8 followers
Viewed: 27 279 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 818 times
Version: 1.1
Category: Tutorials
Tags:

Cambiando el diseño de JuiWidgets

Created 13 years ago by Luis Lobo Borobia, updated 13 years ago by Ivan Wilhelm.

Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

0 0
4 followers
Viewed: 15 454 times
Version: 1.1
Category: Tutorials
Tags:

belajar AR : part 1 (learn AR : part 1)

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

hai teman yii... apa kabar.. kembali lagi bersama catatan saya..

0 0
1 follower
Viewed: 17 763 times
Version: 1.1
Category: Tutorials
Tags: indonesia

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

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

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 27 954 times
Version: 2.0
Category: Tutorials