Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Customize

Davin Dubeau edited this page Nov 19, 2015 · 2 revisions

Customize

Below are steps on how to change the BugNET logo to a custom one, and change the theme.

Changing the Logo

Changing the Theme

To change the default theme in BugNET follow these steps:

  • Make a copy of the App_Themes\Default folder and name it to the name of your new theme. i.e. MyTheme
  • Make changes to the images, styles sheets (CSS) and skin file as necessary
  • Open the web.config and find the pages tag and change the Theme attribute to the name of your new theme.
<pages enableSessionState="true" theme="MyTheme">

Changing Project Property Images

To change or add images for project properties (status, resolution, issue type, milestone etc) put your images in the Images/ProjectProperty folder where ProjectProperty is the property images you would like to change.

For example, to add new images for Status, put your images in the Images/Status directory and BugNET will pick display them automatically as a selection for the image of Status.

16 x 16px images work best for layout purposes.

You need to ensure you have backup copies of these custom images, especially before an upgrade.

Here are some sites with Additional Icons:

Changing the Date and Time Format

Search your web.config file for the globalization setting. You can then change the culture in the web.config file to the desired culture date format.

<globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8"
responseEncoding="UTF-8" fileEncoding="UTF-8" />

List of culture codes https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx

Customizing the HTML Editor Toolbars

See http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar on how to customize the toolbar and or create your own.

If you create your own, you can set it in the web.config HtmlEditorProvider section by changing the CkHtmlEditorProvider element Toolbar attribute.

<HtmlEditorProvider defaultProvider="CkHtmlEditorProvider">
        <providers>
            <add name="TextboxHtmlEditorProvider" type="BugNET.Providers.HtmlEditorProviders.TextboxHtmlEditorProvider, BugNET.Providers.TextboxHtmlEditorProvider" Height="250" Width="100%"/>
            <add name="CkHtmlEditorProvider" type="BugNET.Providers.HtmlEditorProviders.CkHtmlEditorProvider, BugNET.Providers.CkHtmlEditorProvider" Height="250" Width="100%" Toolbar="Basic" providerPath="~\Scripts\ckeditor\"/>
        </providers>
    </HtmlEditorProvider>

Customizing Notifications

All notifications within BugNET can be customized to include additional information or translation to your native language.

All notifications are in xslt format.

The templates can be found under the Templates folder in the BugNET website root. Under that we have two folders:

  • Html - contains all notifications in html format
  • Text - contains all notifications in text format Do not delete or rename notification templates. This will cause errors when BugNET sends notifications.

Notification Types and Descriptions

Name Description
IssueAdded Sent after an issue is added to a project you are monitoring
IssueUpdate Sent after an issue you are monitoring is updated
NewAssignee Sent when an issue is assigned to a new person
NewIssueComment Sent where there is a new comment on an issue you are monitoring
PasswordReset Sent when a users password is reset
UserRegistered Sent to administrators when a new user registers
UserVerification Sent to newly registered users to confirm their account