Im not sure how this happened but there seems to be duplicate numbers in the content folder. I was wondering if there was a way to reorder everything through the panel and fix all the duplications?
Have you tried to change the order via the Panel again?
As for the reasons:
- Could have been an issue synchronizing between local/staging and production?
- Could have been an issue with script failing to run through for some reason, timeout or so.
How many pages do you have in that folder?
I think it could be issue 1β¦
I dont seem to be able to change the order in the panel? Any thoughts on why this could be?
I have over 400 pages in that folder now
Looks like manual sorting is disabled in the blueprint?
I think im using the the PagesDisplay Section plugin, this might be why I canβt sort?
title: Interviews
columns:
left:
width: 1/2
sections:
drafts:
extends: sections/interviews
headline: Draft Interview
status: draft
templates:
- interview
unlisted:
extends: sections/interviews
headline: Interviews in Review
status: unlisted
right:
width: 1/2
sections:
scheduled:
headline: Scheduled Interviews
type: pagesdisplay
query: site.find('interviews').children.listed.flip.future
info: "{{ page.date.toDate('d.m.Y') }}"
image:
query: page.coverimage.toFile
cover: true
ratio: 1/1
back: black
listed:
headline: Published Interviews
type: pagesdisplay
query: site.find('interviews').children.listed.flip.notfuture
info: "{{ page.date.toDate('d.m.Y') }}"
image:
query: page.coverimage.toFile
cover: true
ratio: 1/1
back: black
I find this free tool useful to have around for occurances like this.
You can use it to strip the numbers off the start and then add back the correct running order to get rid of the dupes.
What you could also try: Go to a single page view of one of these interviews and change the position to something else. This should then trigger a change of all numbers, at least I think so. And definitely worth a try before you have to change them all manually.
Do they really have to be sorted manually? Because the pages seem to have a date and maybe it makes more sense to sort them by date then?
@texnixe I just found myself in the same situation.
I tried changing the position of a page, but I get βthe page directory cannot be movedβ. I tried this both with sortBy date field, and without any sortBy specified.
Without specifying the sortBy, I also tried manually sorting with drag and drop but I get the same message.
How would I go about restoring folder num order without doing it php hard way.
This is 3.7.2.1