November Happy Hour will be moved to Thursday December 5th.

Adding admin options in the admin section

Vote:
 

I have made a function for visitors to subscribe to a newsletter. I save the name and email. Id like to present a list of all email adresses in the admin section. So id like to add a menu item or icon in the admin section as well. Where can i find examples or tutorials on how to do this?

#58961
May 14, 2012 10:50
Vote:
 

http://www.frederikvig.com/2009/10/creating-an-episerver-plugin/

#58962
May 14, 2012 12:14
Vote:
 

I have problems with the Visual Studio intergration so i cant get the Epi templates. So i checked the examples and i have been trying to get something to show up in the Admin section. Can you tell me what i am missing?

using System;
using System.Collections.Generic;
using System.Web.Security;
using System.Web.UI.WebControls;
using EPiServer.Personalization;
using EPiServer.PlugIn;
using EPiServer.Security;
using EPiServer.Util.PlugIns;
using System.Web.UI;

[GuiPlugIn(DisplayName = "Min Test Plugin", Description = "Decription of custom admin plugin", Area = PlugInArea.AdminMenu, Url = "~/Templates/FV/PlugIns/TestPlugin.aspx")]
public partial class Templates_FV_PlugIns_TestPlugin : System.Web.UI.Page
{
        protected void Page_Load(object sender, EventArgs e)
    {

    }
}

    

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestPlugin.aspx.cs" Inherits="Templates_FV_PlugIns_TestPlugin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    HELOOOO!
    </div>
    </form>
</body>
</html>

    

#58999
May 15, 2012 16:16
Vote:
 

Your code should work. Have you compiled the code?

#59000
May 15, 2012 16:19
Vote:
 

Yes. And it builds correctly. But i dont get any error and nothing news in the Admin menu.

#59001
May 15, 2012 16:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.