Posted in: Comments

Screenshot from Episerver editing UISince I started working with Episerver back in 2008 I've been missing better taxonomy support, that and a "bucket" feature where we can put content that doesn't fit into a content tree, but in this post I will just cover taxonomy (buckets might be my next challenge though).

If you're like me, you've probably always wondered why you need admin access to just administer categories and why it's so cumbersome to translate them. Well, you don't have to anymore! Head over to GitHub and check my new project out at https://github.com/JohanPetersson/episerver-taxonomy.

You'll find more information at GitHub, but in short this Add-on gives editors a new UI to manage taxonomy and us, developers, a new way to define different types of taxonomy.

We can define taxonomy by inheriting from TaxonomyData:

using Dodavinkeln.Taxonomy.Core;
using EPiServer.DataAnnotations;

[ContentType(GUID = "974ebaf3-c6fc-4332-a809-344b7e372f21")]
public class CategoryData : TaxonomyData
{
}

And then add taxonomy properties to content types:

[Taxonomy]
[Display(Name = "News category")]
public virtual ContentReference NewsCategory { get; set; }

The Add-on is not release in a public feed yet, I would like to have some feedback and implement a few more features before releasing 1.0. So please check it out and leave comments here or on GitHub.