Mobile Menu showing archived and hidden pages

L Younkins asked on September 30, 2022 15:25

We recently discovered that the mobile menu for a sub-domain (that is within the cms, but a different master page), is showing ALL pages on the entire site, even those that are hidden from search and/or archived. This was created by our previous Kentico developer. In the transformation, it points to: {%"<a class='m-menu-top CMSListMenuLink' href='http://" + CurrentSite.SiteDomainName + GetDocumentURL + "'>" + DocumentName + ""#%} {^SubLevelPlaceHolder^}

Recent Answers


Juraj Ondrus answered on October 3, 2022 10:56

What web part is used to build the menu? Check for a setting "Select only published" or similar.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on October 3, 2022 23:48

You might want to share the settings and the name of the webpart you're using. It seems the data retrieval is not filtering out those pages.

Also you want to make sure you're viewing this on the live site and not in preview mode. Preview mode may show you unexpected results.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.