AutoSortRename for Umbraco 4 offers:

- automatic sorting of siblings
- automatic renaming of siblings

When a node is published all siblings are checked if they are sorted and renamed correctly.

Download Jesper.AutoSortRename Package

View the readme

 

How

Siblings are sorted and renamed by adding 2 textstring properties to the parent document type: They should be named:

jesperAutoSort

and

jesperAutoRename

Names are case sensitive.

jesperAutoSort

In "jesperAutoSort" we need to enter some instructions using format:

nodetypealias| propertyname| sortmethod

- nodetypealias can be *
- propertyname can be any, for instance @id or a custom property
- sortmethod can be either textascending, textdescending, numberascending, numberdescending

 

jesperAutoRename

In "jesperAutoRename" we need to enter some instructions using format:

nodetypealias | textformat | [dateformat]

- nodetypealias can be *
- textformat (see below)
- dateformat (optional) to change the format of any date in the textformat.

Examples:
*|{projectname} 
*|{@nodeTypeAlias} - {@createDate} | dd-MM-yyyy hh:mm

 

Feedback ....

Please mail any feedback to jesper@jesper.com

 

*en-us,en;q=0.5*