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.
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.
We start slowly and simple...
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.
I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.
YiiBackboneBoilerplate, aims to provide Yii Backbone developers with an application folder to ease the startup of their projects. It uses the flexibility of our YiiBoilerplate with a twist for BackboneJS applications.
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).
Sometime we need to display numbers of items per page with their counting as a serial number.
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.
Here I am describing how you can install and update Yii in WAMP sever.
First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is
class WpController extends Controller
{
public function init()
{
// note that we disable the layout
$this->layout = false;
parent::init();
}
This will call the controller function using AJAX instead of redirecting the user to the url using GET parameters.
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.