reorder pages (want to create a plugin)

Post Reply
alex611
Ssr. Bludit
Posts: 13
Joined: Fri Jun 02, 2023 6:07 pm
Has thanked: 6 times
Been thanked: 2 times

I would love to create a plugin for drag & drop page structure, since i have hundreds of pages and assigning a priority number does not come handy (at all).
Questions i have:

1) for pages structure, would it be enough to grab the '\bludit\bl-content\databases\pages.php' manipulate the page structure with (e.g. jQuery sort) and write back the json to the file?
Or are there other files to consider?

2) Obviously, there will also be the need to move pages (and childs) around in the folder structure.
Could you point me to the files, functions, classes, i have to consider so i don't break things?
Bludit 3.14.1 / Default admin theme / Theme docs-x-3.2 / PHP 8.1.7 / Ngnix
Post Reply