I am struggling to add a new section to the umbraco interface. I have created a new class (which is in the App_Code folder)
using System; using System.Collections.Generic; using System.Linq; using System.Web;
using umbraco.businesslogic; using umbraco.interfaces;
[Application("documents", "Documents", ".traydocuments", 7)] public class UserDocuments : IApplication { public UserDocuments() {
} }
When I look in the application.config file after the app pool has been refreshed it has added the entry to the file. I have also updated the traysprite.png file for the new icon and updated the umbracoGui.css file for the new class. Two things seem to be happening:
1. It does not seem to read the css file change and there fore the new icon doesn't display. When I look at this it seems the styles are being read from a webresource.
2. It doesn't appear to be reading the name section of the Application attributes - it seems to read the appAlias and then displays the name as [documents]
Any help pr suggestions would be greatly appreicated
Add a Custom Section Umbraco 6.1.4
Hi everyone
I am struggling to add a new section to the umbraco interface. I have created a new class (which is in the App_Code folder)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using umbraco.businesslogic;
using umbraco.interfaces;
[Application("documents", "Documents", ".traydocuments", 7)]
public class UserDocuments : IApplication {
public UserDocuments() {
}
}
When I look in the application.config file after the app pool has been refreshed it has added the entry to the file. I have also updated the traysprite.png file for the new icon and updated the umbracoGui.css file for the new class. Two things seem to be happening:
1. It does not seem to read the css file change and there fore the new icon doesn't display. When I look at this it seems the styles are being read from a webresource.
2. It doesn't appear to be reading the name section of the Application attributes - it seems to read the appAlias and then displays the name as [documents]
Any help pr suggestions would be greatly appreicated
Many thanks
Eric
Something like this worked for me after I added the newly installed section to my User's section:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using umbraco.businesslogic;
using umbraco.interfaces;
namespace XXX.Web.UI.Trees
{
[Application("myplugin", "MyPlugin", "MyPlugin-Icon.gif", 10)]
public class MyPlugin : IApplication
{
}
}
is working on a reply...