Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.
How to add additional information to a user when using BUM extension?
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue').
We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options.
This is a rewrite of c@cba in the wiki article of [enumDropdownList](http://www...
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework
For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
This article is about implementing authentication to Yii based web services.
Sometimes you want to render a view in Fancybox.
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.
var formData = new FormData($("#post-form")[0]);
$.ajax({
url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
type: 'POST',
data: formData,
datatype:'json',
// as...
One can control the detail of a web application in the webroot/index.php
file by manipulating the values of YII_DEBUG
and YII_TRACE_LEVEL
, but these don't appear to be used by console applications. This is because although the base CApplication
class defines a displayError()
method that does consider these variable, CConsoleApplication
overrides it with a function that doesn't honor th...
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.
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.
PHPIDS is a well known project that can be found in php-ids.org.
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII
My goal here is to Open bootstrap modal and load ANY content using ajax response.
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.