Use the following css styles for carousel to work as expected.
Use the following css styles for carousel to work as expected.
How to display status image on admin gridview.
Hi Friends,
MailGun.php Class
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.
Then, we write this in the config > main.php:
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
This behavior enable you to command the RBAC via console. This avoids you to install a entire rbac graphic toolkit to set up some rules in the rbac, maybe you are running inside a ssh console.
The basic idea is to render a grid and, for each row, render a set of radio buttons that asynchronously update their respective model.
While yiic shell
tool is very convenient at generating skeleton code in our application, the generated code is not always what we want. For example, we may want the generated code to carry specific copyright information; we may want to use our own coding style; we may want to add more features; and so on. All these can be accomplished easily in Yii.
In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).
To generate excel by query content, and download through any controller. You also can bind cssClass to header/odd/even rows. As for header, you even can set cssClass for each column.
$this->export2excel($excel_content,$excel_file);
in your controller.
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.
Simple Ajax popup view with Ajax link
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
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.