Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 201-210 of 355 result(s).

How to use PHPExcel external library with Yii

Updated 4 years ago by cgsmithHow-tos14 comments – viewed 103,747 times – ( +30 / -2 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Make theme and layout option in your site

Updated 4 years ago by trondHow-tos0 comments – viewed 9,921 times – ( +1 / -1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Updated 4 years ago by acorncomHow-tos23 comments – viewed 62,028 times – ( +22 / -1 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

make chart from custome queries using amcharts widget

Updated 4 years ago by trondHow-tos0 comments – viewed 5,067 times – ( +2 / -1 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

Yii HMVC

Updated 4 years ago by ezekielnoobHow-tos6 comments – viewed 14,081 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

model rules depended by user roles-permissions

Updated 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 11,420 times – ( +3 / -1 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

Using Grunt for deploying client scripts

Updated 4 years ago by Chris83How-tos8 comments – viewed 18,429 times – ( +11 / -1 ) – 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.

How to use the official Yii installer for Composer (**DEPRECATED**)

Updated 4 years ago by br0skHow-tos9 comments – viewed 41,601 times – ( +3 / -1 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

Turn Web HTML Into Newsletter

Updated 4 years ago by yasenHow-tos1 comment – viewed 11,855 times – ( +8 / -1 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

Changing Controllers Name

Updated 4 years ago by TrejderHow-tos0 comments – viewed 16,874 times – ( +5 / -1 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.