Skip to content

An Umbraco package that automatically groups documents alphabetically

License

Notifications You must be signed in to change notification settings

Infocaster/Alphabetfolders

Repository files navigation

Alphabetfolders

Downloads Nuget (with prereleases) GitHub

Alphabetsfolder is the package to make sure that all of your content is ordered alphabetically. This package automatically adds all of your new nodes to a folder that seperates the content alphabetically. You'll never need to search for your content again! Especially awesome when you have a lot of content.

Requirements

The Alphabetfolders package is made for Umbraco v8, V9, V10 and v11. Version 3+ is made for Umbraco V8, version V9.x is made for Umbraco 9, V10.x is made for Umbraco 10 and v11.x is made for Umbraco 11.

Getting Started

This package is available via NuGet. Visit the AlphabetFolders package on NuGet for instructions on how to install this package in your website. Once installed, build your project and you're ready to make your visitors happy.

Configuration

Upon installation, the AlphabetFolders package will need several variables in your Appsettings.Json file:

"AlphabetFolders": {
    "AllowedParentIds": [],            
    "OrderByDescending": true,         
    "FolderDocType": "alphabetFolder",      
    "ItemDocTypes": [ "contentPage" ]  
}
  • AllowedParentIds | The ids for specific documents for which the folders need to be made. Makes it possible to only create new folders for specific documents in case there are multiple documents of the same type - comma seperated values are allowed for multiple documents. (OPTIONAL)
  • OrderByDescending | Boolean indicating sort order for alphabet folders.
  • FolderDocType | The doctype to use for creating the letter folders. (e.g "alphabetFolder")
  • ItemDocType | The doctype alias to create alphabetfolders for. (e.g. "contentPage") - comma separated values are allowed for multiple doctype aliases

Changelog

Version 11.0.0

  • Updated to use Umbraco v11

Version 10.0.0

  • Updated to use Umbraco v10

Version 9.0.0

  • Updated to use Umbraco v9

Version 3.0.1

  • Added optional key alphabetfolders:AllowedParentIds to specify specific documents for which the AlphabetFolders need to be made.

Version 3.0.0

  • Updated to use Umbraco v8