Wiki

Case Status Kiln
Register Log In

Wiki

 
A Quick Start Guide ("Hello, w…»Implementing IPluginRawPageDis…
  • RSS Feed

Last modified on 12/15/2014 4:38 PM by User.

Tags:

Implementing IPluginRawPageDisplay

Plugin Interfaces > Add Pages to FogBugz > IPluginRawPageDisplay (Basic Use)

Introduction

This article will demonstrate a simple FogBugz plugin that implements the IPluginRawPageDisplay interface contained in the FogCreek.FogBugz.Plugins.Interfaces class.

Functionality

This plugin will add a new "raw" page to FogBugz that, unlike pages generated by the IPluginPageDisplay inteface, does not inherit FogBugz styles and is not rendered beneath the site-wide banner and navigation menus. Pages generated by the IPluginRawDisplay interface are often used to handle AJAX requests, but that functionality is explained in Using IPluginRawPageDisplay to Handle AJAX Requests.

As with the IPluginPageDisplay example, this raw page contains basic "pick your favorite color" form elements, and the IPluginExtrasMenu interface is used to add a link to the new page in the "Extras" menu:

Compile and Install It On Your Own

Download the source file:   IPluginRawPageDisplay_Example.cs

Then follow these instructions to create a functioning plugin assembly: Compiling and Installing a FogBugz Plugin