umbraco / Package.Templates

MIT License
15 stars 10 forks source link

WIP: Added TreeController Item Template #34

Closed Mantus667 closed 3 years ago

Mantus667 commented 3 years ago

I added a new item template for creating TreeController.

The following symbols are currently configured:

It currently just creates the cs-File with basic code in it. It renames the File and the Classname in regards to the TreeTitle set during creation.

jmayntzhusen commented 3 years ago

I think adding a tree item is a great idea!

I appreciate this is a WIP still, but I think we should have a more complete example that includes views, JS, Tree groups, etc. Lots of good info on https://our.umbraco.com/documentation/Extending/Section-Trees/trees if you haven't seen it already.

I'll let someone with a better knowledge of the templating structure comment on that, but it looks right to me 🙂

KevinJump commented 3 years ago

Some basic node / edit screens we could lift from here. https://github.com/KevinJump/DoStuffWithUmbraco/tree/master/Src/DoStuff.Core/Trees