Hello everyone, hope you're having a good day today!
I need some help with Umbraco 9 if anyone has the time.
I am trying to create a comment section on my website, where I would have a list of comments for one blog post, and a form for comment posting underneath it. The problem is that I have no idea how to create a controller in Umbraco 9 that would enable me to do so.
The idea is to have a document type named Comment and enable the form to save and publish the comment using the controller.
Any suggestions are more than welcome, because I feel absolutely stuck with this right now.
Umbraco 9 comment section
Hello everyone, hope you're having a good day today!
I need some help with Umbraco 9 if anyone has the time.
I am trying to create a comment section on my website, where I would have a list of comments for one blog post, and a form for comment posting underneath it. The problem is that I have no idea how to create a controller in Umbraco 9 that would enable me to do so.
The idea is to have a document type named Comment and enable the form to save and publish the comment using the controller.
Any suggestions are more than welcome, because I feel absolutely stuck with this right now.
Hi Stefan 👋
I would take a look at these videos from Paul Seal to help you. These are for Umbraco
https://www.youtube.com/watch?v=vcYN8BsNikY
https://www.youtube.com/watch?v=CKeuQj-wfuo
Then with this watched you can apply the same knowledge to Umbraco 9 with a few namespaces moved about most likely.
https://our.umbraco.com/Documentation/Reference/Routing/surface-controllers-v8
https://our.umbraco.com/Documentation/Reference/Routing/surface-controllers-actions
Cheers Warren 😀
is working on a reply...