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 have change doctype and now i have two pages with the same name and id
How can i Get rid of one? Many thanks Christina
Hi Christina,
It's not possible, can you show a screenshot that you have 2 pages with the same ID?
Alex
Hi Alex Thanks for helping me, its not in backoffice its in the main menu who is rendering menu.
I tried to delete the pageid(1080) that i had change documenttype for but it still showing two pages in menu and this in backoffice
This document is published but its url would collide with content /home/page(id=1080) @{ var site = Model.Site(); var selection = site.Children.Where(x => x.IsVisible()); } <ul> <li><a href="/" id="show-logo" class=" margin-top-menu"></a></li> <li class="@Html.Raw(Model.Id == site.Id ? "is-active" : "")"><a class="nav-link " href="@site.Url">@site.Name</a></li> @foreach (var item in selection) { <li class="@(item.IsAncestorOrSelf(Model) ? "is-active" : null)"><a class="nav-link " href="@item.Url">@item.Name</a></li> } </ul>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How can I have two pages of same id when I'm changing doctype
Hi
I have change doctype and now i have two pages with the same name and id
How can i Get rid of one? Many thanks Christina
Hi Christina,
It's not possible, can you show a screenshot that you have 2 pages with the same ID?
Alex
Hi Alex Thanks for helping me, its not in backoffice its in the main menu who is rendering menu.
I tried to delete the pageid(1080) that i had change documenttype for but it still showing two pages in menu and this in backoffice
is working on a reply...