Quantcast
Channel: Live News for Yii Framework
Browsing all 2940 articles
Browse latest View live
↧

[Wiki] Yii 2.0: Write & use a custom Component in Yii2.0 (Advanced Template)

This is an extension to Yii 2.0: Write & use a custom Component in Yii2.0 for Advanced Template Step1: Create a folder named "components" under 'common' in your project root folder. step2: Write...

View Article


[Extension] yii2-excelmenu

Excel View allows the export of data from a yii2-gridview to various formats (csv, html, xls, xlsx)

View Article


[Extension] yii2-excelview

Excel View allows the export of data from a yii2-gridview to various formats (csv, html, xls, xlsx)

View Article

[Extension] yii2-upload-file

Tools for upload and save file

View Article

Image may be NSFW.
Clik here to view.

[Wiki] Simple Way to Upload and Save File

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action // in controller public function actionCreate() { $model =...

View Article


[Wiki] Yii configuration: Dynamic & User dependent

It is difficult to perform user dependent theming through a general configuration in 'main.php'. This article proposes a method to do so through a Factory that dynamically generates classes to allow...

View Article

[Wiki] Uploading Default Image

This Article is about the Uploding a default Image. Purpose: If the User haven't image to upload, this default image will be replaced in the DB. On your Controller: Create();...

View Article

[Wiki] How to use Yii2-excelview

Install Yii2-excelview: Either run php composer.phar require --prefer-dist arturoliveira/yii2-excelview "*" or add "arturoliveira/yii2-excelview": "*" to the require section of your composer.json file....

View Article


[Wiki] Add model validator in Controller

There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way For example, when inserting a new record we...

View Article


[Wiki] Step by step for how to full export Yii2 grid to excel

We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview: Either run php composer.phar require --prefer-dist arturoliveira/yii2-excelview "*" or add...

View Article

[Extension] yii2-meta

Databased based automated page meta tags based on route and named parameters

View Article

[Extension] yii2-backup

Database Backup and Restore functionality module extention for Yii2

View Article

[Extension] yii2-webapplicationend

Organize directories for applications with front-end and back-end for yii2

View Article


[Wiki] Use CGridview to sort and filter CSqlDataProvider - when used with...

I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible...

View Article

[Extension] json-messages

JSON message source: store translations in JSON files.

View Article


[Extension] yii2-environment

Environment class for Yii 2, used to set configuration for console and web apps depending on the server environment.

View Article

[Extension] yiirestmodel

The RESTful API for models with searching, filtering, relations and other features.

View Article


[Extension] yii2-hyphenator

A simple wrapper for Hyphenator.js

View Article

[Wiki] Easy way to redirect http:\\localhost\yii2-basic to...

First of all, install yii2 basic template according below link: How to install yii2 basic template Then, normally you have to use http:\localhost\yii2-basic\web to launch your homepage. And our target...

View Article

[Wiki] Yii2: Configuring different sessions for backend and frontend in Yii...

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend. What else is needed That take us in a situation where if either the...

View Article
Browsing all 2940 articles
Browse latest View live