Skip to content

Instantly share code, notes, and snippets.

Avatar

Jake Jones jacobjones

View GitHub Profile
@jacobjones
jacobjones / MoveCategories.aspx
Last active Sep 12, 2020
A plugin which allows editors to easily move categories within Episerver (https://jakejon.es/blog/a-plugin-to-move-categories-in-episerver)
View MoveCategories.aspx
<%@ Page Language="c#" CodeBehind="MoveCategories.aspx.cs" AutoEventWireup="False" Inherits="AlloyDemoKit.AddOns.MoveCategories.MoveCategories" Title="Move Categories" %>
<%@ Register TagPrefix="EPiServerUI" Namespace="EPiServer.UI.WebControls" Assembly="EPiServer.UI, Version=11.23.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" %>
<asp:content contentplaceholderid="MainRegion" runat="server">
<asp:Panel runat="server" CssClass="EP-systemMessage" ID="errorPanel" Visible="false">
<asp:Literal runat="server" ID="errorText" />
</asp:Panel>
<div class="epi-formArea epi-paddingVertical-small">
<div class="epi-size15">
@jacobjones
jacobjones / MarkdownEditor.css
Last active Aug 28, 2020
EasyMDE for Episerver CMS
View MarkdownEditor.css
.markdown-editor {
width: 580px;
font-family: Verdana, Arial;
}
.markdown-editor .editor-toolbar {
border-top-left-radius: 0;
border-top-right-radius: 0;
border: 2px solid #b2b9c1;
@jacobjones
jacobjones / MissingProperties.aspx
Last active Apr 3, 2020
Missing Properties Plugin for Episerver
View MissingProperties.aspx
<%@ Page Language="c#" EnableViewState="true" CodeBehind="MissingProperties.aspx.cs" AutoEventWireup="False" Inherits="EPiServer.Reference.Commerce.Site.Plugins.MissingProperties" Title="Missing Properties" %>
<%@ Register TagPrefix="EPiServerUI" Namespace="EPiServer.UI.WebControls" Assembly="EPiServer.UI, Version=11.21.4.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" %>
<asp:content contentplaceholderid="MainRegion" runat="server">
<div class="epi-formArea" ID="Pagetypes" runat="server">
<div class="epi-size25">
<div>
<asp:GridView ItemType="EPiServer.Reference.Commerce.Site.Plugins.MissingProperties.Result" ID="PropertiesViewControl" runat="server" AutoGenerateColumns="false" >
<Columns>
<asp:TemplateField HeaderText="Type" ItemStyle-Wrap="false">
@jacobjones
jacobjones / ExplainCommand.cs
Last active Feb 13, 2020
Episerver Find Explain
View ExplainCommand.cs
using System;
using System.IO;
using System.Net;
using System.Text;
using EPiServer.Find;
using EPiServer.Find.Api;
using EPiServer.Find.Connection;
using EPiServer.Find.Helpers;
using EPiServer.Find.Json;
using Newtonsoft.Json.Linq;
@jacobjones
jacobjones / EpiserverFindReportClient.cs
Last active Mar 3, 2019
Episerver Find Report Generator
View EpiserverFindReportClient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using AlloyDemoKit.FindReport.Client.Entities;
using EPiServer.Find;
using EPiServer.ServiceLocation;
using WebGrease.Css.Extensions;
namespace AlloyDemoKit.FindReport.Client
{
You can’t perform that action at this time.