I am trying to create a way to insert content on a page simply by adding child items to the page. The way I'm thinking is by creating a renderscript in razor that runs through the child items and renders them on the page.
But i need to be able to insert razor- and usercontrol-macros in a richtexteditor on the panels.
But after reading a bunch of stuff it seems that is not possible. The panels will not be reuseable like widgets, they will all be custom.
Are there any other way for me to archive this? What if i only need razor macros and not usercontrols?
Complex panels using child items
Hi
I am trying to create a way to insert content on a page simply by adding child items to the page.
The way I'm thinking is by creating a renderscript in razor that runs through the child items and renders them on the page.
But i need to be able to insert razor- and usercontrol-macros in a richtexteditor on the panels.
But after reading a bunch of stuff it seems that is not possible.
The panels will not be reuseable like widgets, they will all be custom.
Are there any other way for me to archive this?
What if i only need razor macros and not usercontrols?
Thanks in advance! :)
I was unable to edit my first post, due to a forum error. (Kept redirecting me to "http://our.umbraco.org/forum/0")
What im looking for is much like what this thread describes.
http://our.umbraco.org/forum/templating/templates-and-document-types/23882-Reusable-Panel-with-option-to-select-edit-data-for-the-panels-from-the-Content-Section
Except that i don't need the panels to be reuseable, they will be located as child item to the node where they will be rendered onto.
is working on a reply...