Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Move Subpages to different Folder #67

Closed
benseitz opened this issue May 13, 2014 · 6 comments
Closed

Move Subpages to different Folder #67

benseitz opened this issue May 13, 2014 · 6 comments
Labels

Comments

@benseitz
Copy link

In the file system you can easily move a subfolder to another folder.

For example the subpage "ProjectX" from "Active Projects" site to "Old Projects".

I think it would be nice if you could do this also from the backend.

@bastianallgeier
Copy link
Contributor

Absolutely!! This is just more tricky than it sounds. While you are actually knowing what you are doing — at least I hope so — when you move stuff on the file system, the panel somehow has to make sure that you don't move pages to a subfolder where they could break things. i.e. if they have the wrong template or data. That's why I haven't implemented it yet.

@benseitz
Copy link
Author

I understand the problem. Maybe some information in the blueprint, that specific subfolders can be moved there. But it's tricky, yes...

@bastianallgeier bastianallgeier modified the milestones: Kirby 2.1, Kirby 2.0 Sep 1, 2014
@distantnative distantnative removed this from the 2.1 milestone May 5, 2015
@seehat
Copy link

seehat commented May 20, 2016

Isn't there a setting to make sure that the subpage's template is allowed?

https://getkirby.com/docs/panel/blueprints/subpages-settings#templates-for-subpages

@jenstornell
Copy link

jenstornell commented May 20, 2016

@seehat

Possible problems that comes to mind:

  • Complex nested structures maybe add problems.
  • Move large files. At least copy many large files can be a problem. I'm not sure about move.
  • Collisions. It needs to be sure that no other page gets overwritten.
  • Move with success. It needs to be sure that all the files are moved and are not corrupt.
  • Leave no data behind. It also needs to be sure that the old page is deleted.

The new template switcher is a good step where you can see what will change on a template change. Maybe do something similar with move?

A traditional file manager could add, delete, rename, copy and move stuff. It would be cool to have a CMS that could do all those things as well. :)

@Sija
Copy link

Sija commented Nov 6, 2016

Hi @bastianallgeier!

I'm seriously considering using Kirby for my next project, that is portfolio of my photographer friend.
To make it versatile I'd need to provide him ability to move files and pages within the folder structure.
Imagine being unable to move photo from one folder to another... that's quite insane, especially when you'd use it for modelling galleries. Of course he could download the image and upload it again in different place, but when you use metadata attached to the file, the whole process involves as well manually copying value of every field, which makes it unusable in real-world scenarios.

Any plans on implementing it in the near future?

@puckey
Copy link

puckey commented Jan 18, 2017

Although I understand the complexities involved, I would like to add a huge +1 for this feature request. It is something my editors regularly need to do. More often then not, I find myself doing it for them through FTP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants