Hi Craig, i seem to be too stupid to use this feature. :-) I tried to copy the noteWorthy folder into webdashboard\templates and added <customtemplates>templates\noteWorthy</customtemplates> in the plugins section in dashboard.config and restarted IIS. Doesn't work for me. I'll try to find the time to debug this a bit or try another build... I'll keep you posted.
regards, Daniel 2009/12/11 Craig Sutherland <[email protected]>: > Hi Daniel, > > I've had a look at this and it appears to be working. > > There are two parts to adding a theme: > 1) The files need to be copied to a local where the application can access > them > 2) The configuration needs to be changed to point to the files > > If the files are in the dashboard folder (e.g. C:\Program > Files\CruiseControl.NET\dashboard for the default install), then the > configuration can be a relative path. For example, if the template is stored > in C:\Program Files\CruiseControl.NET\dashboard\templates\noteWorthy, then > the configuration would be: > <customTemplates>templates\noteWorthy</customTemplates> > > Note: this element has to be in the <plugins> element. > > Hope this helps, > > > Craig > > -----Original Message----- > From: Daniel Hommel [mailto:[email protected]] > Sent: Monday, 7 December 2009 9:37 p.m. > To: [email protected] > Subject: Re: [ccnet-user] Re: Using custom templates > > Thanks, but sadly this also doesn't work for me (1.5.6411.1). > I'm starting to think the custom templates feature is broken in 1.5. > I guess i'll file a bug report if i don't get any further ideas... > > regards, > > Daniel > > > 2009/12/7 Brett <[email protected]>: >> I'm using 1.4.4 so this might not be applicable to your version. >> >> What worked for me was putting the custom templates into a sub-folder >> of the webdashboard and then only referencing that subfolder. >> >> For example, place your custom templates in C:\Program Files >> \CruiseControl.NET\webdashboard\noteWorthy and then, in >> dashboard.config, use: >> >> <customtemplates>noteWorthy</customtemplates> >> >> Cheers, >> Brett >> >> On Dec 4, 3:53 pm, Daniel Hommel <[email protected]> wrote: >>> Hi all, >>> >>> i'm trying to use the custom templates feature, but somehow i can't >>> get it to work (1.5.6411.1). >>> >>> In dashboard.config in the <plugins> section i just add something like: >>> >>> <plugins> >>> <customtemplates>C:\Program >>> > Files\CruiseControl.NET\webdashboard\Themes\noteWorthy\templates</customtem > plates> >>> ... >>> </plugins> >>> >>> Already tried different variations like relative paths or using slahes >>> instead of backslashes, but nothing works. >>> >>> Is this a bug or am i doing something wrong? >>> >>> regards, >>> >>> Daniel >> > > >
