Hi.
I have a problem with displaying a new view that I implement in a new menu, following the steps https://docs.grandnode.com/how-to-add-your-plugin-to-admin-menu
When I access the new view it sends me to a blank page with the form data, not to the admin and content area.
Attached images.
https://imgur.com/DExfU03
https://imgur.com/qWeUvj0
https://imgur.com/uRf8T4D
Problem with menu view display
Sunday, December 29, 2024 4:03:15 AM
Hi Steven,
It looks that you've forgot to implement the Layouts for view file. You can insert this part of code to your view file with report:
@{
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
or add _AdminLayout.cshtml file to your plugin. It should solve the problem.
It looks that you've forgot to implement the Layouts for view file. You can insert this part of code to your view file with report:
@{
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
or add _AdminLayout.cshtml file to your plugin. It should solve the problem.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0