Post by Virgil Sovereign on Feb 18, 2014 1:30:01 GMT -8
This thread pertains to a feature request for the template editor rather than a template request. Please move if this is not the appropriate forum.
A great help in the template editor would be the ability to batch save modifications to a given template over any/all other themes on a board. By this I mean the ability to save changes made to a template in one theme to the same template in any/all other themes installed on a board.
The feature might behave as follows:
Suppose I'm editing the Thread > Post List template to insert a Reply #, etc. Next to the "Save Theme" button is a "Save To..." button. When I click this button, a dialog opens requesting "Apply Change to Which Themes?" and provides a vertical (scrollable, if long) list of all themes installed on the board. Each theme in the list has a checkbox next to it that can be selected. The theme currently being edited would also appear on the list, but checked and disabled to indicate that the change must be applied to the theme currently loaded in the editor.
In addition to the usual "Select All" and "Select None" options, the list would have a "Select Only Identical" option that would check only themes with a Thread > Post List template identical to the pre-edit Thread > Post List template for the current theme. The dialog would presumably determine this by executing a back end check on byte-for-byte equality of the templates (or for HTML equivalence, if you wanted to be fancy). In this way, the user would have a simple way of applying the change only to themes that do not have special (i.e. non-global) features in this particular template.
The user could select as many or as few themes as preferred, and then confirm by clicking "Save to Selected", which would commit the change to all selected themes. As an added protection, the confirmation step might first check whether the change was being committed to any themes with templates not equal to the current pre-edit template and query "One of more of the selected themes has a 'Post List' template that differs from the 'Post List' template in the current theme. Are you sure you want to overwrite the 'Post List' template in these themes?" to make absolutely sure the user knows what s/he's doing.
I suggest this because we have close to 40 unique themes on our board, with virtually all of them corresponding to simple .CSS edits, and making any kind of "global" change to a template is a pain in the neck.
Thanks for your consideration.
ETA: It has been suggested to me by others that this might be merged with the current "Export" feature in the template editor that handles batch saves of a multiple-template-to-one-theme nature. The "Export" dialog would simply be augmented to a multiple-template-to-multiple-theme interface as described above.
A great help in the template editor would be the ability to batch save modifications to a given template over any/all other themes on a board. By this I mean the ability to save changes made to a template in one theme to the same template in any/all other themes installed on a board.
The feature might behave as follows:
Suppose I'm editing the Thread > Post List template to insert a Reply #, etc. Next to the "Save Theme" button is a "Save To..." button. When I click this button, a dialog opens requesting "Apply Change to Which Themes?" and provides a vertical (scrollable, if long) list of all themes installed on the board. Each theme in the list has a checkbox next to it that can be selected. The theme currently being edited would also appear on the list, but checked and disabled to indicate that the change must be applied to the theme currently loaded in the editor.
In addition to the usual "Select All" and "Select None" options, the list would have a "Select Only Identical" option that would check only themes with a Thread > Post List template identical to the pre-edit Thread > Post List template for the current theme. The dialog would presumably determine this by executing a back end check on byte-for-byte equality of the templates (or for HTML equivalence, if you wanted to be fancy). In this way, the user would have a simple way of applying the change only to themes that do not have special (i.e. non-global) features in this particular template.
The user could select as many or as few themes as preferred, and then confirm by clicking "Save to Selected", which would commit the change to all selected themes. As an added protection, the confirmation step might first check whether the change was being committed to any themes with templates not equal to the current pre-edit template and query "One of more of the selected themes has a 'Post List' template that differs from the 'Post List' template in the current theme. Are you sure you want to overwrite the 'Post List' template in these themes?" to make absolutely sure the user knows what s/he's doing.
I suggest this because we have close to 40 unique themes on our board, with virtually all of them corresponding to simple .CSS edits, and making any kind of "global" change to a template is a pain in the neck.
Thanks for your consideration.
ETA: It has been suggested to me by others that this might be merged with the current "Export" feature in the template editor that handles batch saves of a multiple-template-to-one-theme nature. The "Export" dialog would simply be augmented to a multiple-template-to-multiple-theme interface as described above.