Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 161-170 of 329 result(s).

Open Dialog from ajax content

Created about a year ago by TouzasHow-tos1 comment – viewed 12,582 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

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

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 12,544 times – ( +4 )
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.

Using Grunt for deploying client scripts

Created about a year ago by Chris83How-tos8 comments – viewed 12,503 times – ( +11 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

Creating a Dependent Dropdown From Scratch in Yii2

Created 8 months ago by ThePr0f3550rHow-tos1 comment – viewed 12,492 times – ( +4 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

Extending an ActiveRecord model

Created 2 years ago by BogseyHow-tos3 comments – viewed 12,370 times – ( +2 / -3 ) – version 1.1
Introduction

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

Created about a year ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 12,329 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

How to re enable logging during unit testing

Created 3 years ago by AsgarothHow-tos3 comments – viewed 12,184 times – ( +11 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

A Multi-Tenant Strategy using Yii and MySQL

Created about a year ago by JFReyesHow-tos8 comments – viewed 12,177 times – ( +9 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

More security in your applications with Yii and PHPIDS

Created 4 years ago by Rafael GarciaHow-tos1 comment – viewed 12,071 times – ( +8 ) – version 1.1
PHPIDS is a well known project that can be found in php-ids.org.
tags: phpids, security

"safe" and "unsafe" Model validators (massive assignments)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 12,021 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.