Wiki

Sorted by commentsX
Displaying 511-520 of 740 result(s).

How to create Module based Login

Created about a year ago by turiHow-tos1 comment – viewed 9,596 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 4 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 9,277 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 about a year ago by trondHow-tos1 comment – viewed 4,797 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 about a year ago by SelvakumarHow-tos1 comment – viewed 29,160 times – ( +2 ) – 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 4 years ago by Steve FriedlHow-tos1 comment – viewed 9,332 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 2 years ago by VaibhavHow-tos1 comment – viewed 11,769 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.

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created about a year ago by edoardo849How-tos1 comment – viewed 5,504 times – ( +5 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

How to limit number of guest page views

Created about a year ago by PeRoChAkHow-tos1 comment – viewed 3,302 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 2 years ago by sirin kTutorials1 comment – viewed 9,516 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 4 years ago by DavidhhuanTutorials1 comment – viewed 7,328 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