Developer forum

Forum » Templates » Submenu disappears in frontend

Submenu disappears in frontend


Reply
 Hello,

Version 19.1.1.0 The website has been built with the 'new' design/layout method.

Under specific circumstances, at the front-end, the pages under the main menu disappear from the navigation menu which is rendered through XSLT. 

This happens when a paragraph on a main page is switched on or off;
The pages which are the direct children of that page are now not shown in the submenu anymore at the frontend. 
When investigating the XSLT and outputting all the XML, it seems that the childcount attribute contains value '0' and not '9'. Also, the children are not in the XML output. This causes the submenu to remain blank.

To fix this situation, a "save" of a page (randomly chosen) will show the menu again at the front-end; Also, a restart (IIS) of the application will do the trick. So this looks likes an internal DW thing causing this annoying problem.

The problem appears also when editing content on the (top menu) page.

This problem occurs within 2 instances of the same website (same project). We cannot reproduce this problem within another project.

Please advise, since you can understand that our customer is not happy, seeing complete submenu's disappear at the front-end while doing minor changes in the backend.

Kind regards,
Ton

Replies

 
Reply
Hi Ton,
To help you we need link to the problem page.

Kind regards.
Yury

 
Reply
This is a test environment for the customer, which is accessed by specific IP-adresses. Please PM your IP-address so we can add it.
Thanks,
Ton
 
Reply
We now have a second example of a DW implementation where a XSLT generated menu disappears from the website when editing paragraphs.

My collegue reproduces this behaviour as follows:

When unpublishing a page which has subpages (which are shown in the menu), and re-publishing them, the submenu has disappeared;

I get the menu's back by just saving the "edited urls" in the managemen center.

Please Dynamicweb, take this seriously. Is it necessary to create an issue?

Thanks,
Ton
 
Reply

Hi, we know about this bug (publish/unpublish in paragraph list cause problems with menu) and it is fixed in new release.
Use please publish button in page PROPERTIES, until you receive new release, it works properly. 

Kind regards.
Yury

 
Nicolai Høeg Pedersen
Reply
Hi

The bug Yury talks about is only a UI thing and has nothing to do with this issue.

Paragraphs and the navigation has no impact on each other, so I think the problem i something else.

The problem seems to be site (xslt-template) specific and we can only help if we have some sort of access. Attach the XML and XSLT to this thread and we can have a look.
 
Reply
Hello,

The problem is not site-specific, we now have 2 independent sites with the same problem. The first site uses a custom made XSLT, the second site uses the standard LIclean template. So I doubt that the XSLT causes the problem.

We can give you access to one of the environments by allowing your IP, please mail me directly so we can sort things out.

Thanks,
Ton
 
Reply
Hi Ton,

I've recently lost my sub-menus when upgrading to 7.2. I've was told by the support-guys that all attributes need to be on the content placeholders: id, class and title.

I don't know if it's going to work - while the solution I worked on was with NAV integration, we decided to wait a month or 2 with the upgrade, to avoid any bugs.

But the menu's used was the a standard xslt.

 

You must be logged in to post in the forum