Wiki articles in category Tutorials

Showing 1-20 of 259 items.

First Yii App: CTabView

Created 11 years ago by meanpenguin, updated 7 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: 23 540 times
Version: 1.1
Category: Tutorials
Tags:

Gettext and Poedit HOWTO

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

Example settings when using Gettext for i18n.

0 0
2 followers
Viewed: 9 555 times
Version: 1.1
Category: Tutorials

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

Created 11 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: 11 392 times
Version: 1.1
Category: Tutorials
Tags:

Display Status image on CGridView column

Created 6 years ago by Ankit Modi, updated a year ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 17 320 times
Version: 1.1
Category: Tutorials

Display image on CGridView column and open a fancy-box

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

1) Add a fancy-box extension on admin page

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

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

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

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 15 200 times
Version: 1.1
Category: Tutorials

How to make customizable Db Table prefixes using ActiveRecord

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

Help pages using Markdown view renderer

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

Simple Jui Autocomplete in yii2

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

To use jui auto complete widget first add

0 0
3 followers
Viewed: 35 242 times
Version: 2.0
Category: Tutorials

A simple widget - jump2link

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

namespace app\components;

0 0
1 follower
Viewed: 9 363 times
Version: 2.0
Category: Tutorials

CMenu widget like bootstrap navbar with submenu

Created 4 years ago by kv4nt, updated 4 years ago by kv4nt.
0 0
1 follower
Viewed: 16 856 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: 18 643 times
Version: 1.1
Category: Tutorials

Named scope - Get orphan AR without losing primary key

Created 9 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 544 times
Version: 1.1
Category: Tutorials
Tags:

Working with relational removals by yii2

Created 3 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: 22 654 times
Version: 2.0
Category: Tutorials

default csrf security and ajax post in one controller

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

Hello Yii friends

0 3
8 followers
Viewed: 20 748 times
Version: 1.1
Category: Tutorials

Database Driven CMenu

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

Purpose

0 0
4 followers
Viewed: 6 001 times
Version: 1.1
Category: Tutorials
Tags:

Cambiando el diseño de JuiWidgets

Created 9 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: 13 390 times
Version: 1.1
Category: Tutorials
Tags:

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

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

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

0 0
1 follower
Viewed: 16 739 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: 19 588 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 4
36 followers
Viewed: 29 937 times
Version: 2.0
Category: Tutorials