Wiki

Sorted by date (updated)X
Displaying 171-180 of 482 result(s).

Ajax form submiting in Yii

Updated 9 months ago by sirin kTutorials6 comments – viewed 29,822 times – ( +6 / -3 )
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

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

Updated 9 months ago by GiulianoHow-tos1 comment – viewed 4,300 times – ( +7 )
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 9 months ago by BoazHow-tos2 comments – viewed 3,589 times – ( +5 / -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 9 months ago by yJeroenTutorials8 comments – viewed 17,757 times – ( +11 )
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 9 months ago by BoazHow-tos9 comments – viewed 16,108 times – ( +5 / -3 )
We start slowly and simple...

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

Updated 9 months ago by Gerhard LiebenbergTutorials0 comments – viewed 29,700 times – ( +4 )
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 9 months ago by rAWTAZHow-tos0 comments – viewed 9,871 times – ( +5 )
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.

mysql performance tip

Updated 9 months ago by sirin kTips6 comments – viewed 4,879 times – ( +2 / -1 )
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Facebook DeAuthorize callback URL and its response data.

Updated 9 months ago by sirin kTutorials1 comment – viewed 3,494 times – ( +3 )
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

An important tip when you are using CArrayDataProvider.

Updated 9 months ago by sirin kTips0 comments – viewed 3,940 times – ( +5 / -1 )
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.