Wiki

Sorted by commentsX
Displaying 541-550 of 771 result(s).

How to create Module based Login

Created 2 years ago by Ibrar TuriHow-tos1 comment – viewed 12,032 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Cambiando el diseño de JuiWidgets

Created 5 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 10,599 times – version 1.1
Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

How to apply a layout to an AJAX update

Created 2 years ago by trondHow-tos1 comment – viewed 6,719 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views

Upload image and content using AJAX and Store it in different table

Created 2 years ago by SelvakumarHow-tos1 comment – viewed 44,422 times – ( +3 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

How to customize error handling in console-mode applications

Created 5 years ago by Steve FriedlHow-tos1 comment – viewed 11,004 times – ( +3 ) – version 1.1
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.

YouTube API v2.0 – Browser-based Uploading

Created 3 years ago by VaibhavHow-tos1 comment – viewed 14,198 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 limit number of guest page views

Created 2 years ago by PeRoChAkHow-tos1 comment – viewed 4,133 times – ( +3 ) – version 1.1
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.

Facebook DeAuthorize callback URL and its response data.

Created 3 years ago by sirin kTutorials1 comment – viewed 12,223 times – ( +3 ) – version 1.1
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

embed a view file of the class which implement the CAction.

Created 5 years ago by DavidhhuanTutorials1 comment – viewed 8,194 times – ( +1 / -1 ) – version 1.1
In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

Yii code completion and calltips in Komodo Edit

Created 5 years ago by viterTips1 comment – viewed 11,297 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit