AI OnAI Off
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>
Yes. And it builds correctly. But i dont get any error and nothing news in the Admin menu.
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?