Wiki articles

Showing 161-180 of 651 items.

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 11 years ago by Luiz, updated 11 years ago by robregonm.

A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

5 0
7 followers
Viewed: 24 383 times
Version: 1.1
Category: Tips

How-To: Create Token Authenticated Web Services

Created 10 years ago by hemc, updated 9 years ago by CeBe.

This article is about implementing authentication to Yii based web services.

4 0
15 followers
Viewed: 37 767 times
Version: 1.1
Category: How-tos

Multi level dropdown menu in Bootstrap

Created 10 years ago by sefburhan, updated 9 years ago by CeBe.

To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

4 0
38 followers
Viewed: 32 908 times
Version: 1.1
Category: Tutorials

How to render a view in Fancybox using ajax

Created 11 years ago by rix.rix., updated 11 years ago by 张 迪.

Sometimes you want to render a view in Fancybox.

4 0
14 followers
Viewed: 30 971 times
Version: 1.1
Category: How-tos

Adding Yii Search to Your Browser Search Box

Created 13 years ago by qiang, updated 5 years ago by CeBe.

The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.

25 0
6 followers
Viewed: 63 366 times
Version: all
Category: Tips

How to create Module based Login

Created 10 years ago by Ibrar Turi, updated 9 years ago by CeBe.

Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

1 0
7 followers
Viewed: 21 705 times
Version: 1.1
Category: How-tos

Cambiando el diseño de JuiWidgets

Created 13 years ago by Luis Lobo Borobia, updated 12 years ago by Ivan Wilhelm.

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.

0 0
4 followers
Viewed: 15 407 times
Version: 1.1
Category: Tutorials
Tags:

How to apply a layout to an AJAX update

Created 10 years ago by trond, updated 9 years ago by CeBe.
  1. The Main template holds the header, main navigation and footer
  2. One or more layout files holds the column setup, sub navigation etc.
  3. The view files hold the actual page content.
1 0
4 followers
Viewed: 16 391 times
Version: 1.1
Category: How-tos
Tags: AJAX, views

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

Created 10 years ago by Selvakumar Kaliyappan, updated 9 years ago by CeBe.

var formData = new FormData($("#post-form")[0]);
$.ajax({
    url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
    type: 'POST',
    data: formData,
    datatype:'json',
    // as...
1 0
5 followers
Viewed: 72 697 times
Version: 1.1
Category: How-tos

How to customize error handling in console-mode applications

Created 13 years ago by Steve Friedl, updated 13 years ago by Steve Friedl.

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

3 0
4 followers
Viewed: 21 041 times
Version: 1.1
Category: How-tos

How to limit number of guest page views

Created 10 years ago by PeRoChAk, updated 9 years ago by CeBe.

In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.

2 0
5 followers
Viewed: 8 924 times
Version: 1.1
Category: How-tos

Facebook DeAuthorize callback URL and its response data.

Created 11 years ago by sirin k, updated 6 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: 24 386 times
Version: 1.1
Category: Tutorials
Tags: facebook

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Created 11 years ago by rAWTAZ, updated 11 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: 51 000 times
Version: 1.1
Category: How-tos

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

Created 13 years ago by Davidhhuan, updated 13 years ago by Davidhhuan.

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

1 1
2 followers
Viewed: 25 109 times
Version: 1.1
Category: Tutorials

Yii code completion and calltips in Komodo Edit

Created 13 years ago by viter, updated 13 years ago by wei.

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:

5 0
3 followers
Viewed: 14 612 times
Version: 1.1
Category: Tips

Automatically get the SVN Revision Number of your Project

Created 9 years ago by jcagentzero, updated 9 years ago by jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 12 789 times
Version: all
Category: Tutorials

More security in your applications with Yii and PHPIDS

Created 13 years ago by Rafael Garcia, updated 13 years ago by Gustavo.

PHPIDS is a well known project that can be found in php-ids.org.

6 0
14 followers
Viewed: 19 969 times
Version: 1.1
Category: How-tos

Login Form With email or Whatever

Created 9 years ago by nabil abdouali, updated 9 years ago by nabil abdouali.

Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

1 2
2 followers
Viewed: 31 712 times
Version: 1.1
Category: How-tos

Update Gridview with Dropdown Selection

Created 9 years ago by lgastmans, updated 9 years ago by lgastmans.

I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

0 0
4 followers
Viewed: 16 932 times
Version: 1.1
Category: Tips

Preventing CJuiTabs from hiding drop-down CMenu items

Created 13 years ago by Steve Friedl, updated 13 years ago by RusAlex.

Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

4 0
3 followers
Viewed: 15 290 times
Version: 1.1
Category: Tips