SAVE AND COPY FUNCTION FOR EMAIL TEMPLATES - Jan 30th, 2023


CMSB user Codee asked, "What's the possibility, and probability, that the Email Templates section of CMSB have the "Save
and Copy" function such as the section editors have? Sometimes it would be great to be able to do a copy from an
already built one and then just remove or change a few pieces, instead of starting from scratch for each one."

Daniel from Interactive Tools came up with a simple fix. He said, "Here's a patch you can add to saveAndCopy.php to
enable it; on line 21 (in version 3.57) change this:


$addButton = isset($menuType) && ($menuType == 'multi' || $menuType == 'category') && ($action == 'add' || $action ==
'edit');

to this:

$addButton = isset($menuType) && ($menuType == 'multi' || $menuType == 'category' || $tableName == '_email_templates')
&& ($action == 'add' || $action == 'edit');



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service