Wiki articles

Showing 41-60 of 826 items.

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Created 9 years ago by Wade Shuler Wade Shuler, updated 7 years ago by jwerner jwerner.

Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let m...

7 0
6 followers
Viewed: 42 734 times
Version: 2.0
Category: How-tos
2 0
3 followers
Viewed: 41 335 times
Version: 2.0
Category: How-tos

Events registration examples

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

Register an event handler at Object-Level

2 0
2 followers
Viewed: 67 650 times
Version: 2.0
Category: How-tos
Tags: events, yii2

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 12 years ago by Kartik V Kartik V, updated 7 years ago by softark softark.

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

14 3
64 followers
Viewed: 293 282 times
Version: 2.0
Category: Tutorials

Simple way to implement Dynamic Tabular Inputs

Created 11 years ago by ezekielnoob ezekielnoob, updated 7 years ago by samdark samdark.

grid

5 0
10 followers
Viewed: 94 070 times
Version: 2.0
Category: Tutorials

How to display Dependent drop-down value using ajax call with dynamically

Created 11 years ago by Ankit Modi Ankit Modi, updated 7 years ago by samdark samdark.

Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

1 1
6 followers
Viewed: 54 674 times
Version: 1.1
Category: Tutorials

How to create the custom Drop-down using CHtml::dropDownList

Created 12 years ago by Ankit Modi Ankit Modi, updated 7 years ago by samdark samdark.

Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

0 0
3 followers
Viewed: 31 289 times
Version: 1.1
Category: How-tos

How to create a Widget - Recent Comments widget

Created 12 years ago by Nisanth thulasi Nisanth thulasi, updated 7 years ago by samdark samdark.

Here's a simple way to create a Recent comments showing widget to be used in your templates. The idea is just to highlighting your blog's new comments.

5 0
6 followers
Viewed: 47 368 times
Version: 1.1
Category: How-tos

CRUD operation in Yii framework

Created 12 years ago by Mohammad Fareed Mohammad Fareed, updated 7 years ago by samdark samdark.

Simple Yii Script for performing CRUD operations:

0 4
6 followers
Viewed: 37 400 times
Version: 1.1
Category: Tutorials
0 2
40 followers
Viewed: 26 034 times
Version: 2.0
Category: How-tos

Clean JavaScript code in your views

Created 12 years ago by nineinchnick nineinchnick, updated 7 years ago by samdark samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 45 191 times
Version: 1.1
Category: Tutorials

Display Status image on CGridView column

Created 12 years ago by Ankit Modi Ankit Modi, updated 7 years ago by samdark samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 25 635 times
Version: 1.1
Category: Tutorials

Remove Byte Order Mark (BOM) from files recursively

Created 12 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 7 years ago by samdark samdark.

The problem was that all my web applications ran normally on localhost, but on server the Greek characters (or any other no-english characters) displayed with problems.

2 1
7 followers
Viewed: 39 075 times
Version: all
Category: How-tos

How to show Image view after upload and delete view image using eajaxupload extension

Created 12 years ago by Ankit Modi Ankit Modi, updated 7 years ago by samdark samdark.

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 64 495 times
Version: 1.1
Category: How-tos

Multiple files uploader with CMultiFileUpload

Created 12 years ago by Interboy Interboy, updated 7 years ago by samdark samdark.

Today I will show you how to handle multiple file upload step by step.

5 0
8 followers
Viewed: 286 343 times
Version: 1.1
Category: How-tos

How to display images in CJuiAutoComplete without extenstions

Created 11 years ago by Asmaa Asmaa, updated 7 years ago by samdark 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: 16 453 times
Version: 1.1
Category: Tutorials

CSS Naming Conventions

Created 15 years ago by qiang qiang, updated 7 years ago by samdark samdark.

In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

35 0
24 followers
Viewed: 58 081 times
Version: 1.1
Category: Tutorials

Batch Gridview data ajax send splitted in chunks displaying bootstrap Progress bar

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

The scenario in which this wiki can be useful is when you have to send an (huge) array of model ids and perform a time consuming computation with it like linking every model to other models. The idea is to split the array into smaller arrays and perform sequential ajax requests, showing the calculation progress using a [Bootstrap Progress bar](https://www.yiiframework.com/extension/yiisoft/yii2-bo...

8 0
2 followers
Viewed: 41 087 times
Version: 2.0
Category: Tutorials

Yii2 RESTful API with OAuth 2.0

Created 8 years ago by sirin k sirin k, updated 7 years ago by sirin k sirin k.

https://cdn.pbrd.co/images/GMN5ROs.jpg

3 0
3 followers
Viewed: 77 726 times
Version: 2.0
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 11 years ago by softark softark, updated 7 years ago by softark softark.

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

13 0
14 followers
Viewed: 114 792 times
Version: 2.0
Category: Tutorials