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.

Comments

deviantintegral’s picture

Title: Adding new templates to existing books » Adding and deleting instantiated nodes from existing books
StatusFileSize
new18.83 KB

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.

deviantintegral’s picture

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 :)

deviantintegral’s picture

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.

Status: Fixed » Closed (fixed)

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