Wiki

Sorted by date (updated)X
Displaying 451-460 of 733 result(s).

How to hide index.php on Microsoft Windows Server with IIS7

Updated 2 years ago by GiulianoHow-tos2 comments – viewed 12,584 times – ( +9 ) – version 1.1
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.

How to "masquerade" a non-required form element as 'required' one (in the view only)

Updated 2 years ago by BoazHow-tos2 comments – viewed 9,558 times – ( +7 / -1 ) – version 1.1
In a nutshell, the task at hand is to mark (or render) a model attribute in the typical "_form.php" view file with the 'required' red asterisk while this attribute is not marked as required in the model's rule() method. If you're interested only in the solution, jump ahead to the 'solution' section below.

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Updated 2 years ago by yJeroenTutorials8 comments – viewed 46,204 times – ( +19 ) – version 1.1
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

Creating and updating model and its related models in one form, inc. image

Updated 2 years ago by BoazHow-tos10 comments – viewed 58,081 times – ( +6 / -3 ) – version 1.1
We start slowly and simple...

Beginner / Intro Tutorials (please add to / update this list)

Updated 2 years ago by Gerhard LiebenbergTutorials1 comment – viewed 39,428 times – ( +5 ) – version 1.1
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.

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Updated 2 years ago by rAWTAZHow-tos0 comments – viewed 26,038 times – ( +7 ) – version 1.1
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.

YouTube API v2.0 – Browser-based Uploading

Updated 2 years ago by VaibhavHow-tos1 comment – viewed 11,643 times – ( +6 ) – version 1.1
Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

How to setup RBAC with a php file

Updated 2 years ago by StagelineHow-tos17 comments – viewed 55,875 times – ( +26 / -5 ) – version 1.1
In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

Create Yii Project In Cloud9

Updated 2 years ago by BenTutorials5 comments – viewed 17,227 times – ( +3 ) – version 1.1
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

Simple RBAC

Updated 2 years ago by StagelineTutorials17 comments – viewed 70,790 times – ( +47 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.