x First time here? Check out the FAQ
Tom Fulton started this project on Tuesday, November 22, 2011 it's current version is 2.0 .

Package Info

Project Owner/Creator

Avatar

Tom Fulton

2013posts 4210karma

Project Compatibility

This project has been reported to be compatible with 7.0.x, 6.1.x, and 5 other versions.

View Details Report Compatibility

Project Information

Project owner:
Tom Fulton
Created:
Tuesday, November 22, 2011
Is Stable:
Project is stable
Current version
2.0
License
MIT
Tags
media  extension  open source  backoffice  doctype  document types  Default  DocumentType  structure  UI 
Downloads:
831

Contribute

Group

This package is open for collaboration.
Contact the owner

Structure Extensions

 

Structure Extensions is a package that enables several enhancements to the Structure features of Document & Media Types.

  • Set Default Document & Media Types
  • Control which Document & Media Types are allowed at the Root level
    (note, the 'Root' functionality is removed in v2.x as it's been added to the Umbraco core)

For example, you can set Textpage to be the Default Document Type under your Homepage, set only Folders to be allowed in the Root Level of the Media section, and set Image as the default Media Type for a Folder.

The goal is to reduce clicks and be friendlier by guiding users towards the most common types they will be creating.  Check out the screencast to see it in action.

Usage
Simply install the package to get started.  Two new options will be added to the Structure Tab of your Document & Media Types.  Use these options to set default content types and configure which types are allowed at the root.

Note:  By default, no content types will be allowed at the Root levels.  You should manually set which ones are allowed (if desired) by checking the “Allowed at root” checkbox on the Structure tab of each type.

Technical Notes
The controls on the Structure tab are injected dynamically; none of the Umbraco core files are modified.  The package adds a configSection to your web.config and stores it’s config in /config/StructureExtensions.config - but there is no need to touch this by hand as it’s managed by the controls.  Note it’s still possible to override the “allowed root types” by using the Move/Copy dialog (for now…).

Installation
Download the packages below and install via Umbraco, or install via Nuget:  Our.Umbraco.StructureExtensions

Upgrading & Compatibility
Version 1.x should be used for Umbraco v4 sites, and 2.x for Umbraco v6 sites.

When upgrading from 1.x to 2.x, you must remove the `allowedAtRoot` attribute from your /config/StructureExtensions.config file, as this attribute is no longer used.

 

I have some other ideas for adding more control/limitations over document type structures.  If you have any thoughts or ideas or would like to get involved, please let me know.

Workitems
If you like this package and would like to see similar features in the core someday, feel free to vote up these related Umbraco workitems:

Thanks Lee Kelleher for some inspirational code :)

Screenshots

Package Files

Documentation

Archived Files

Package discussions

Structure Extensions Feedback
3 topics, 17 posts
Bugs, Suggestions, Feedback, or anything else :)
June 18, 2013 @ 02:37 by Tom Fulton