Skip to content

Instantly share code, notes, and snippets.

@DirkWolke
Last active June 13, 2016 20:06
Show Gist options
  • Save DirkWolke/0d6ca0a3b7644d854a1f to your computer and use it in GitHub Desktop.
Save DirkWolke/0d6ca0a3b7644d854a1f to your computer and use it in GitHub Desktop.
TMENU sorting alphabetically / create Date
lib.sortmenu = HMENU
lib.sortmenu {
1 = TMENU
1 {
# alternativeSortingField = crdate DESC
alternativeSortingField = title
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment