I'm trying to create a custom section and specify specific html to display like this
"sections": [
{
"alias": "referralForms",
"name": "Referral Forms",
"view": "~/App_Plugins/ReferralForms/backoffice/referralFormsAlias/list.html"
}
],
but it seems not working. Can someone help me on how to set this Up ? the expected route should be this /umbraco#/referralForms while rendering the list.html page.
Am i in the right track?
k
Kevin Jump
10/02/2023, 7:44 AM
Once you've added a section, you need to add it to the allowed sections in the user groups (e.g pick admin group add section) . Caught me out more than once (last week!)
n
nl_05
10/02/2023, 7:53 AM
I already set the section to specific user group. What my concern is when clicking that section it should display the content from list.html .
nl_05
10/02/2023, 7:54 AM
it's like list.html should be the default view once it goes to that custom section which is "Referral Forms"
nl_05
10/02/2023, 3:04 PM
Already found the solution . needs to declare in package.manifest this line
"dashboards": [
{
"alias": "referralFormsDashboard",
"view": "~/App_Plugins/ReferralForms/backoffice/referralFormsAlias/list.html",
"sections": [ "referralForms" ],
"weight": -10
}
],