garryn Reply #1, 5 years, 11 months ago
Hi all,
Ever wanted an easy way to mass change a document template on your site? Well, here you go ...
This module has two ways of applying a different document template to your site. Firstly, by specifying ranges of document ID numbers, or secondly, by using a document tree to pick which documents you want to apply the document template to.
I would recommend that you use the Backup Manager to get a MySQL dump of your database the first time you use this module, just in case something should go wrong.
Installation
1. Create a new module and paste the attached module code into it.
2. Run Module
3. Away you go - pick the new document template and specify the documents you want to apply it to.
Once the module has applied the new template, please ensure you click the 'Refresh Site' button for the template changes to take immediate effect.
As always, I'm open to suggestions on how this can be improved and would love to have any feedback/bug reports you have on this module.
Have fun, Garry
Ever wanted an easy way to mass change a document template on your site? Well, here you go ...
This module has two ways of applying a different document template to your site. Firstly, by specifying ranges of document ID numbers, or secondly, by using a document tree to pick which documents you want to apply the document template to.
I would recommend that you use the Backup Manager to get a MySQL dump of your database the first time you use this module, just in case something should go wrong.
Installation
1. Create a new module and paste the attached module code into it.
2. Run Module
3. Away you go - pick the new document template and specify the documents you want to apply it to.
Once the module has applied the new template, please ensure you click the 'Refresh Site' button for the template changes to take immediate effect.
As always, I'm open to suggestions on how this can be improved and would love to have any feedback/bug reports you have on this module.
Have fun, Garry
