WordPress Plugin – Tree Editor For Pages

Create a new plugin for creating tree structures for posts/pages. The hierarchical tree will probably be created using jsTree
http://www.jstree.com/

A) The plugin will create a new primary item in the admin interface, and a set of pages.
UI will be similar to admin pages for WPtouch
http://wordpress.org/extend/plugins/wptouch/

B) The primary navigation is “General” and “About”. General has 4 subsections. About is just text. Within “General”: “Overview” is a simple table with statistics about the number of items in the tree. “Tree view” is discussed below. “Tag smart groups” is a simple set of 5 text boxes. “Backup/import” will allow the user to import/export a hierarchical XML file that defines the tree. This is a simple syntax, which I will provide later. Each item is an XML node. On import, pages that do not exist are not created.

C) Tree display controls. Expand/collapse the tree. Search hilites matching items in the tree.

D) A tree control. Each item can have one of the following statuses:
~ Published (a WP published page/post)
~ Draft (a WP draft)
~ Smart group (one of the 5 “Tag smart groups”)
~ Mini (an imported node that does not correspond to existing WP page)
UI is similar to CMS Tree Page View
http://wordpress.org/extend/plugins/cms-tree-page-view/

E) Go to WP editor pages, or the normal WP preview page.

F) Adds a new item to the tree. This will update the tree and also create a new WP page. User is prompted to enter a title, and then given the option to edit it now, or leave an empty draft and stay on this screen.

G) Delete page, and switch to one of the 5 smart groups.

H) More controls:
Make draft / Publish = Toggle WP published status
Delete = remove from this tree, and move the WP content to the trash
Duplicate = duplicates the WP content and/or the node
Merge up = concatenate title + content + metadata, removing dupes, for this item and the previous in the tree. Put content in previous item. Move current item to trash.
Merge down = same as Merge up, moving down instead.

Plugin should be compatible with WP Super Cache. There will be follow-on work. This is version 1.0. I look forward to your bid. -Michael

Leave a Reply

Your email address will not be published. Required fields are marked *