Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 81-90 of 301 result(s).

AssetManager: clearing browser's cache on site update

Created 2 years ago by dhampikHow-tos4 comments – viewed 21,205 times – ( +17 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created about a year ago by rAWTAZHow-tos0 comments – viewed 20,870 times – ( +7 ) – version 1.1
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

Database driven Cmenu

Created 2 years ago by twisted1919How-tos0 comments – viewed 20,524 times – ( +13 / -1 ) – version 1.1
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

Converting an Artisteer Theme to Yii

Created 3 years ago by bgleeHow-tos3 comments – viewed 20,454 times – ( +9 ) – version 1.1
There are two approaches to converting an Artisteer theme. The first is to simply copy an existing Artisteer – based Yii theme, overlay the CSS and images, then make any necessary tweaks to the layout files. This is undoubtedly the fastest route, but won't teach you as much as doing it from scratch. That's ok. Sometimes getting the job done is the top priority. The second approach is more general and will apply to some extent to other HTML templates that you may want to convert. I'll be covering the first approach in detail, while the second will be more of a general discussion.

Using a CDbDataReader (sql query result) in a zii widget (such as CGridView or CListView)

Created 2 years ago by Revelis Luc BonninHow-tos1 comment – viewed 20,057 times – ( +9 / -1 ) – version 1.1
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be

Storing your images in your table's blob field and displaying that stored images.

Created 2 years ago by sirin kHow-tos6 comments – viewed 19,828 times – ( +8 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Run Yiic directly from your app without a shell

Created 2 years ago by jacmoeHow-tos5 comments – viewed 19,803 times – ( +17 ) – version 1.1
Sometimes it would be nice if we could run yiic from an action, for example a migrate database button in our admin panel. Or because you are on a host which doesn't have shell access. Or maybe you are not allowed run popen or exec.

How to insert a Simple Dialog Box

Created 2 years ago by bluyellHow-tos4 comments – viewed 19,704 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

How to install pdo_oci

Created 4 years ago by Horacio SeguraHow-tos1 comment – viewed 19,302 times – ( +1 ) – version 1.1
From: http://lacot.org/ and me.
tags: pdo oci php

Include Yii framework in a Joomla module

Created 3 years ago by zaccariaHow-tos7 comments – viewed 19,294 times – ( +8 / -1 ) – version 1.1
Delploying anything using joomla's framework is quite difficult. The framework don't provide a good MVC structure and the documentation is very poor.