Wiki

Sorted by viewsX
Displaying 431-440 of 786 result(s).

Create a custom menu using CMenu data-items (flat or tree structure)

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 18,813 times – ( +4 / -1 ) – version 1.1
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

Extending an ActiveRecord model

Created 5 years ago by BogseyHow-tos3 comments – viewed 18,783 times – ( +2 / -4 ) – version 1.1
Introduction

Easy way to redirect http:\\localhost\yii2-basic to http:\\localhost\yii2-basic\web\index.php

Created 3 years ago by Scott_HuangTips0 comments – viewed 18,777 times – ( +3 / -4 ) – version 2.0
First of all, install yii2 basic template according below link:

Upload CSV File

Created 5 years ago by bhavesh vaghelaTutorials2 comments – viewed 18,761 times – ( +8 / -1 ) – version 1.1
View file

CSV Export

Created 5 years ago by JohnPollardHow-tos5 comments – viewed 18,658 times – ( +4 / -1 ) – version 1.1
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
tags: csv, export

Code style

Created 7 years ago by zaccariaTips2 comments – viewed 18,648 times – ( +30 / -1 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

Generate a multi-lever array sub-category for a menu

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 18,529 times – ( +10 / -1 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created 2 years ago by softarkTutorials0 comments – viewed 18,510 times – ( +6 / -1 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

Simple Mail Queue

Created 4 years ago by waterloomattTutorials3 comments – viewed 18,495 times – ( +10 / -3 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

BUM - Add Additional Info to a User

Created 4 years ago by fireflyHow-tos1 comment – viewed 18,494 times – ( +1 / -1 ) – version 1.1
How to add additional information to a user when using BUM extension?