Wiki

Case Status Kiln
Register Log In

Wiki

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

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

Tags:

Implementing IPluginWikiPageInfoDisplay

FogBugz Plugin Interfaces > Wikis and Wiki Pages > IPluginWikiPageInfoDisplay

Introduction

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

Functionality

This plugin will implement the IPluginWikiPageInfoDisplay interface to display two CWikiPageInfoBlock objects on the wiki info page. The first uses the wide format and outputs the raw html of the page, html encoded. The second uses the normal width format and displays the output CWikiPage.URL() (the url of the page) and the last viewed property, CWikiPage.dtLastView

An example wiki page:

Info page for the above. This plugin created the last two CWikiPageInfoBlock objects, "Raw HTML" and "Extra Info"

Compile and Install It On Your Own

Download the source file:   IPluginWikiPageInfoDisplay.cs

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