When I run and refresh, I get the following error:
The type or namespace name 'MeganavV8Item' could not be found (are you missing a using directive or an assembly reference?)
+
@foreach (var item in Model.Value<IEnumerable<MeganavV8Item>>("megaNavV8"))
Keep in mind I am new to the implementation and have limited experience with razor code - can anyone tell me what I am doing wrong? What am I missing? Or can anyone point me to a tutorial with instructions and code examples so that I can teach myself?
I'm finding that there is limited documentation don't the implementation of this tool... so it's been challenging, to say the least.
I just wanted to flag, MegaNavV8 is not supported on Umbraco 9+.
It was a package built for .Net Framework, where as Umbraco 9+ is .Net Core. There are alternative packages out there for Umbraco 9+
UmbNav v1 was released to replace this package and supports Umbraco v8 and v9. V2 of UmbNav supports Umbraco 10 +.
MeganavV8 with Umbraco 11.1
New developer to Umbraco implementation.
Trying to implement the MeganavV8.
I started here: https://our.umbraco.com/packages/website-utilities/meganavv8/
I created the MegaNav DataType to add to a composition so that I could add it to my HomePage for easy management.
I'm able to create the links - including nested no issue.
My problem comes on the partial view - see code:
When I run and refresh, I get the following error:
Keep in mind I am new to the implementation and have limited experience with razor code - can anyone tell me what I am doing wrong? What am I missing? Or can anyone point me to a tutorial with instructions and code examples so that I can teach myself?
I'm finding that there is limited documentation don't the implementation of this tool... so it's been challenging, to say the least.
Thanks in advance for the assistance!
Hi Cedeste
Check out the Models Builder settings, looks like Models Builder is not set correctly at your solution.
https://our.umbraco.com/documentation/reference/templating/modelsbuilder/
Thanks,
Alex
Thank you! I will try that.
Hey Cedeste,
I just wanted to flag, MegaNavV8 is not supported on Umbraco 9+. It was a package built for .Net Framework, where as Umbraco 9+ is .Net Core. There are alternative packages out there for Umbraco 9+
UmbNav v1 was released to replace this package and supports Umbraco v8 and v9. V2 of UmbNav supports Umbraco 10 +.
https://github.com/AaronSadlerUK/Our.Umbraco.UmbNav
Thanks
Nik
Thank you. I will take a look at the newer option.
is working on a reply...