Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi! I created 4 contents using the same tepmlate and doc type. Then removed 2 of them and deleted from recycle bin.
But 1 of the removed content still remains, it can be accessible by URL, and it exists in frontend menu.
I'm getting menu using this code:
@{ var selection = CurrentPage.Site().Children.Where("Visible");} <ul class="header-nav"> <li> <a href="~/@Umbraco.UmbracoContext.PublishedContentRequest.Culture.TwoLetterISOLanguageName">@Umbraco.GetDictionaryValue("Home_menu_link")</a> </li> @foreach (var item in selection) { <li class="@(item.IsAncestorOrSelf(CurrentPage) ? "active" : null)"> <a href="@item.Url">@item.Name</a> </li> }</ul>
Hi Surikus
Can you republish your site and clear cache?
Thanks,
Alex
Thanks a lot! Problem solved.
Glad to help you!
Have a nice evening!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Content doesn't removed from frontend
Hi! I created 4 contents using the same tepmlate and doc type. Then removed 2 of them and deleted from recycle bin.
But 1 of the removed content still remains, it can be accessible by URL, and it exists in frontend menu.
I'm getting menu using this code:
Hi Surikus
Can you republish your site and clear cache?
Thanks,
Alex
Thanks a lot! Problem solved.
Glad to help you!
Have a nice evening!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.