I am trying to create a custom content tree and section in my 4.7.1.1 installation. I would like to make a new section with a content tree that is just regular umbraco datatype based content. I want to use the default umbraco content data model. I really would like it to work the way that uWebshop does with the Shop section and the main Content section.
My idea is that I am going to make a place where editors can add video lectures, but on the main content page I will just have a "Lecture" page that will render lectures using a query string variable set by a url re-write rule.
I have successfully created custom trees in the past, but is there any guidance on how to duplicate the standard content tree. My main concern is how will I prevent my nodes from appearing in both of the trees?
I was able to make some progress. You can checkout this other post. I have a link to some source code that was provided by uWebshop. However, I believe that they have recently changed the trees to be config file based in 4.8. My code has not been updated to take advantage of that, but from what I have read, if you use the database method, the system will automatically sync your trees to config files for you.
I'm glad it helped you out. I have not put much more work into the project that was going to even use that yet. I am glad it helped someone else in the meantime.
Custom Content Tree
I am trying to create a custom content tree and section in my 4.7.1.1 installation. I would like to make a new section with a content tree that is just regular umbraco datatype based content. I want to use the default umbraco content data model. I really would like it to work the way that uWebshop does with the Shop section and the main Content section.
My idea is that I am going to make a place where editors can add video lectures, but on the main content page I will just have a "Lecture" page that will render lectures using a query string variable set by a url re-write rule.
I have successfully created custom trees in the past, but is there any guidance on how to duplicate the standard content tree. My main concern is how will I prevent my nodes from appearing in both of the trees?
Thanks,
Justin
Hi Justin,
Just wondering if you've had any luck with this?
I'm trying to do the same in creating my own custom content tree
Tom
Hi Tom,
I was able to make some progress. You can checkout this other post. I have a link to some source code that was provided by uWebshop. However, I believe that they have recently changed the trees to be config file based in 4.8. My code has not been updated to take advantage of that, but from what I have read, if you use the database method, the system will automatically sync your trees to config files for you.
http://our.umbraco.org/projects/website-utilities/uwebshop/uwebshop-qa/30366-Guidance-on-custom-section
Justin
Cheers Justin,
After spending about a week on trying to this, you've just helped be do it in a couple of hours!!
Thanks again Justin (and Arnold) I owe you a beer.
Tom
I'm glad it helped you out. I have not put much more work into the project that was going to even use that yet. I am glad it helped someone else in the meantime.
Justin
is working on a reply...