Wiki articles in category Tutorials

Showing 1-20 of 258 items.

First Yii App: CTabView

Created 10 years ago by meanpenguin, updated 6 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: 22 787 times
Version: 1.1
Category: Tutorials
Tags:

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

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

Created 10 years ago by qiang, updated 10 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: 10 945 times
Version: 1.1
Category: Tutorials
Tags:

Display Status image on CGridView column

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

How to display status image on admin gridview.

0 0
5 followers
Viewed: 16 621 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 235 times
Version: Unknown (update)
Category: Tutorials

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

Created 5 years ago by Ankit Modi, updated 4 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 14 651 times
Version: 1.1
Category: Tutorials

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

Help pages using Markdown view renderer

Created 5 years ago by nineinchnick, updated 5 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: 6 514 times
Version: Unknown (update)
Category: Tutorials

Simple Jui Autocomplete in yii2

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

To use jui auto complete widget first add

0 0
3 followers
Viewed: 31 778 times
Version: 2.0
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 836 times
Version: 2.0
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 857 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 527 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 265 times
Version: 1.1
Category: Tutorials
Tags:

Working with relational removals by yii2

Created 2 years ago by AndroideLP, updated 2 years ago by Jairus Martin.

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

0 0
2 followers
Viewed: 19 785 times
Version: 2.0
Category: Tutorials

default csrf security and ajax post in one controller

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

Hello Yii friends

0 3
8 followers
Viewed: 19 511 times
Version: 1.1
Category: Tutorials

Database Driven CMenu

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

Purpose

0 0
4 followers
Viewed: 5 624 times
Version: 1.1
Category: Tutorials
Tags:

Cambiando el diseño de JuiWidgets

Created 8 years ago by Luis Lobo Borobia, updated 8 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: 12 951 times
Version: 1.1
Category: Tutorials
Tags:

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

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

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

0 0
1 follower
Viewed: 9 552 times
Version: 1.1
Category: Tutorials
Tags: indonesia

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

Created 5 years ago by realtebo, updated 4 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: 18 062 times
Version: 2.0
Category: Tutorials

What to do when composer fails to update your vendor packages?

Created 5 years ago by Kartik V, updated 5 years ago by Kartik V.
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 3
36 followers
Viewed: 27 627 times
Version: 2.0
Category: Tutorials