Wiki

Case Status Kiln
Register Log In

Wiki

 
FogBugz Plugin Interfaces (All…»Implementing IPluginStaticJS
  • RSS Feed

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

Tags:

Implementing IPluginStaticJS

Plugin Interfaces > Static Files > IPluginStaticJS

Introduction

This article will demonstrate a simple FogBugz plugin that implements the IPluginStaticJS interface contained in the FogCreek.FogBugz.Plugins.Interfaces class library. See also the related articles: Implementing IPluginStaticFile and Implementing IPluginStaticCSS

Functionality

This plugin will insert a conspicuous "Hello, Kiwi!" header on top of any FogBugz page by calling a function included in a static Javascript (.js) file. In order to include the Javascript file in the plugin's /static/ directory, a parent directory including the plugin assembly DLL and a sibling "static" folder containing the Javascript file was zipped up and uploaded to FogBugz. The .zip file is inlcuded at the bottom of this article as an attachment.

Compile and Install It On Your Own

Download the source file:   IPluginStaticJS_Example.cs

Download the .zip file:  IPluginStaticJS_Example.zip

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