Developer forum

Forum » CMS - Standard features » Strange problem with RenderNavigation

Strange problem with RenderNavigation

Aki Ruuskanen
Aki Ruuskanen
Reply

On this site we render some navigation in the footer. 

We render them with the "parenttag": 

            @RenderNavigation(new
            {
                StartLevel = 2,
                EndLevel = 2,
                ParentTag = "contactparent",
                Expandmode = "Path",
                Template = "EasyLaserFooterNav.xslt"
            })

 

Example, in the footer here there are four columns with rendered navigation:

https://easylaser.com/en-us

But in this language layer with the same navigation tags one of the navigations just wont render. I have even looked at the pages in the datanase and cannot see what would cause for one of the navigations not to render. 

https://easylaser2019prod.softgear.se/sv-se

 

Regards / Aki

 

 


Replies

 
Nicolai Pedersen
Reply

Could it be because the page has no subpages...? See dump

Capture.JPG
 
Aki Ruuskanen
Aki Ruuskanen
Reply

Sorry, that was a bad example. The one that does not render navigation items is this one. It's for the "Om Easy Laser" and the pages under it. 

            @RenderNavigation(new
            {
                StartLevel = 2,
                EndLevel = 2,
                ParentTag = "aboutparent",
                Expandmode = "Path",
                Template = "EasyLaserFooterNav.xslt"
            })
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hm. Weird one.

Renamed all tags to "aboutparent2" and changed your template... Then it works.

Votes for this answer: 1
 
Aki Ruuskanen
Aki Ruuskanen
Reply

Really weird. :)  Thanks. 

/Aki

 

You must be logged in to post in the forum