Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Hayden Tomas 11 posts 82 karma points
    Jan 29, 2019 @ 09:47
    Hayden Tomas
    0

    Meganav implementation failure - help please!

    Hi guys

    So I am fairly new to Umbraco and have a question about Meganav.

    It is literally the final piece of the pizzle I need to get working in order to create at least a basic site! The dynamic menu is the bit I need.

    So I have Umbraco version 7.13.0 and have installed Meganav (it says version 1.1.2)

    I have followed the instructions at https://github.com/callumbwhyte/meganav

    and the the implementation guide at https://github.com/callumbwhyte/meganav/blob/dev/docs/integration-guide.md shows that Meganav creates for you an example partial view from which to learn from.

    However I have tried the partial view by adding it to my master template, I would have hoped to at least see a basic menu but instead I am greeted with a runtime error page on the frontend.

    Does anyopne have any experience with this or has faced this issue so that i may overcome it?

    I can see that it has been untested with my version of Umbraco according to this page https://our.umbraco.com/packages/website-utilities/meganav/ but I am betting somebody here has it working on teh version i am using!

    If not can you recommend a menu plugin that does work?

    I am still learning razor templating so dont want to get into building out a custom menu system just yet, I just want something that works!

    Thank you

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Jan 29, 2019 @ 09:51
    Nik
    0

    Hi Hayden,

    What is the runtime error you are getting? Let's start there because it will help us diagnose what is going wrong.

    Out of the box, the example menu template is fairly basic, if I remember correctly it is also styled so you will need to add classes/styling to it (I could be wrong it's been a while since I've used the example one).

    Thanks

    Nik

  • Hayden Tomas 11 posts 82 karma points
    Jan 29, 2019 @ 09:59
    Hayden Tomas
    0

    Thanks for replying Nik

    It is one of those runtime errors that gives me no clue! I have pasted it below. I dont have an issue with the styling etc, I do have a menu I built ready to use for the styling, at the moment I just want to see some links working on the front end :)

    Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's

  • Hayden Tomas 11 posts 82 karma points
    Jan 29, 2019 @ 10:01
    Hayden Tomas
    0

    Actually i just realised that it stripped my code but you can see the error page at my site https://hayden.one/

    Its just a playground for learning Umbraco

  • Hayden Tomas 11 posts 82 karma points
    Jan 29, 2019 @ 12:32
    Hayden Tomas
    0

    No matter, I actually found that the meganav is completely incompatible with the version of Umbraco i am using.

    However I did find this tutorial that got me where I wanted, no plugins needed!

    http://www.umbtuts.net/tutorials/creating-a-responsive-dynamic-menu-umbraco-jquery/

    The instructions are slightly off in the tutorial in that the author is referencing addToMainNavigation but the document type property the author created is called addToTopNavigation, otehr than that it works like a dream!

Please Sign in or register to post replies

Write your reply to:

Draft