This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.
Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.
$this->render('index', array(
'dataProvider' => $dataProvider,
));
`
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt()
built-in function works and why it's important to use it correctly.
Example settings when using Gettext for i18n.
1) include the fancybox extesion otherwise fancybox js
View file
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.
Translation from .txt file Note:
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.
login links will be
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.
Hi Friends,
Assuming that you have already install the wampserver on your windows.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
In this wiki I will show how to copy a schema from a database to another one