When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.
This is a list of blogs, off-site tutorials and other resources about Yii.
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.
Here is overloaded version of CActiveForm.labelEx that adds colon (:) at the end of text of label with respecting CHtml::$afterRequiredLabel and CHtml::$beforeRequiredLabel
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.
Ctrl+Space.Ctrl+Q.There are two ways to run a cron job:
The keywords will be stored in a text field in a comma delimited format. The keywords will be created by the site administrator.
If you want to add module based login to a site without using RBAC, please follow these guidelines.
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.
Often happens to have the need of change a part of the page with ajax.
Almost all the information you need whilst working with yii is written in the Class Reference.
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted
I found a better solution.
In order to nicely display flash Messages, create view like this called views/site/dialog.php :
Add these lines in /config/main.php
'components'=>array(
.........
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=database1',
'emulatePrepare' => true,
'username' => 'root',
'password' => 'itsasecret',
'charset' => 'utf8',
),
'db2'=>array(
'class' => 'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=databa...