Adding and deleting instantiated nodes from existing books

deviantintegral - April 1, 2009 - 01:57
Project:Skeleton outlines
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The attached patch allows adding new templates to existing books. It exposes itself on the Syncronize tab. It still needs some UI work, improved commenting, and likely some refactoring as a good portion is copied from skeleton_instance.inc. However, I may hold off on that refactoring until I implement batch API operations for creating templates.

AttachmentSize
add_templates_books.patch12.16 KB

#1

deviantintegral - April 30, 2009 - 02:42
Title:Adding new templates to existing books» Adding and deleting instantiated nodes from existing books

This is an updated patch which also implements deleting nodes where the associated template has been deleted. It also includes updated JavaScript to add a checkbox to each table for selecting all nodes.

AttachmentSize
420098_add_delete_instantiated_nodes_1.patch 18.83 KB

#2

deviantintegral - May 11, 2009 - 16:15

This is an updated patch which implements the changes from #459562: Allow use of pathauto's [bookpathalias] token during template additions. Yet another reason why some refactoring is in order :)

AttachmentSize
420098_add_delete_instantiated_nodes_2.patch 19.24 KB

#3

deviantintegral - July 16, 2009 - 18:12
Status:needs work» fixed

The patch in #2 has been in use since it was posted without issues. I'm going to commit it and do the refactoring in another issue.

#4

System Message - July 30, 2009 - 18:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.