Wiki articles

Showing 281-300 of 650 items.

Creating Yii applications with composer

Created 6 years ago by schmunk, updated 6 years ago by SleepWalker.

When creating web-application projects, you can add a great variety of different extensions, modules, plugins or scripts to your code-base. But maintaining a stable combination and updating certain packages can become a hard task.

27 0
32 followers
Viewed: 99 185 times
Version: 1.1
Category: Tutorials

Catching bounce messages (NDR) and piping them to a Yii command

Created 6 years ago by bennouna, updated 5 years ago by bennouna.

But in the supposedly small share of webapps that don't ask users to activate their accounts, you can end up with a number of bounce messages and non-accessible active accounts.

1 0
7 followers
Viewed: 11 604 times
Version: 1.1
Category: Tutorials

YiiBackboneBoilerplate - Project Setup for your Yii+BackboneJS applications

Created 6 years ago by Antonio Ramirez, updated 6 years ago by Antonio Ramirez.

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.

9 0
22 followers
Viewed: 26 823 times
Version: 1.1
Category: Others

Elementary introduction to using jQuery ajax and the yii framework

Created 6 years ago by dhimes, updated 6 years ago by François Gannaz.

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.

2 0
15 followers
Viewed: 45 004 times
Version: 1.1
Category: How-tos
Tags: AJAX

Ajax form submiting in Yii

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 150 075 times
Version: 1.1
Category: Tutorials

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

Created 6 years ago by Giuliano, updated 6 years ago by Giuliano.

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.

6 0
6 followers
Viewed: 25 796 times
Version: 1.1
Category: How-tos

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

Created 6 years ago by Boaz, updated 2 years ago by mrun.

Consider the following use case:

5 1
6 followers
Viewed: 19 443 times
Version: 1.1
Category: How-tos

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 6 years ago by yJeroen, updated 6 years ago by yJeroen.

This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

Intro

16 0
41 followers
Viewed: 66 129 times
Version: 1.1
Category: Tutorials

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

Created 6 years ago by Boaz, updated 6 years ago by Boaz.

We start slowly and simple...

6 1
21 followers
Viewed: 110 827 times
Version: 1.1
Category: How-tos

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 6 years ago by rAWTAZ, updated 6 years ago by rAWTAZ.

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.

7 0
10 followers
Viewed: 43 035 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii,Working Out The Details.

Created 6 years ago by drumaddict, updated 6 years ago by drumaddict.

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();
    }

7 0
13 followers
Viewed: 27 803 times
Version: 1.1
Category: How-tos
Tags: wordpress

CGridView, CListView and CActiveDataProvider

Created 6 years ago by softark, updated 6 years ago by softark.

CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

26 0
33 followers
Viewed: 131 520 times
Version: 1.1
Category: Tutorials

Facebook DeAuthorize callback URL and its response data.

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.

3 0
6 followers
Viewed: 16 921 times
Version: 1.1
Category: Tutorials
Tags: facebook

An important tip when you are using CArrayDataProvider.

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

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...

5 1
5 followers
Viewed: 15 830 times
Version: 1.1
Category: Tips

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

2 0
4 followers
Viewed: 10 032 times
Version: 1.1
Category: Tips

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 6 years ago by sirin k, updated 2 years ago by Maurizio Domba Cerin.

hello,

 This article is helpful only if you have the following situation:
 A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
4 0
6 followers
Viewed: 9 855 times
Version: 1.1
Category: Tips
Tags: facebook, user

YouTube API v2.0 – Browser-based Uploading

Created 6 years ago by Vaibhav, updated 6 years ago by Vaibhav.

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.

2 0
7 followers
Viewed: 18 631 times
Version: 1.1
Category: How-tos

YiiBoilerplate - Setup a professional project structure in seconds

Created 6 years ago by Antonio Ramirez, updated 6 years ago by Antonio Ramirez.

Even though it looks complicated at the beginning, you will find that it is not that hard as it seems once you understand its structure. Yii's project structure wiki obviously inspired a lot of this setup, and you will find that some of the paragraphs here are taken from their wiki.

39 0
82 followers
Viewed: 65 941 times
Version: 1.1
Category: Others

Create Yii Project In Cloud9

Created 6 years ago by Ben, updated 6 years ago by Ben.

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.

2 0
5 followers
Viewed: 30 664 times
Version: 1.1
Category: Tutorials

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 6 years ago by bluezed, updated 6 years ago by bluezed.

Inspired by it I extended the CButtonColumn class like this:

5 0
7 followers
Viewed: 38 437 times
Version: 1.1
Category: Tutorials