[EN] [ES]
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.
To replace the application component 'format', which is registered by CApplication by default, you can put this in your application 'components' config:
This will call the controller function using AJAX instead of redirecting the user to the url using GET parameters.
Clone the git repo - git clone git://github.com/drumaddict/ember-yii.git
- or download it
To install,follow these steps.
Here I am describing how you can install and update Yii in WAMP sever.
In this article, I will describe how to manage URLs for a Website that has both secure and nonsecure content.
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 many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test s...
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:
Sometime we need to display numbers of items per page with their counting as a serial number.
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 ).
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.
Start studying the MVC pattern. You will understand the roles of the model, the view and the controller and know where goes each part of the code.
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...
In this article you'll learn how to send additional form data when uploading files using XUpload widget
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".