Differences

This shows you the differences between two versions of the page.

Link to this comparison view

share_templates_between_engines [2011/08/26 19:46]
matthew
share_templates_between_engines [2011/08/26 19:56] (current)
matthew
Line 15: Line 15:
 Free text-editors are also available for Mac and Windows systems: Free text-editors are also available for Mac and Windows systems:
  
-  [[http://www.barebones.com/products/textwrangler/|TextWrangler]] is a good choice for Mac OS X. +  [[http://www.barebones.com/products/textwrangler/|TextWrangler]] is a good choice for Mac OS X. 
-  [[http://notepad-plus-plus.org/|Notepad++]] is a good plain text-editor for Windows.+  [[http://notepad-plus-plus.org/|Notepad++]] is a good plain text-editor for Windows.
  
 ===== Hacking Templates ===== ===== Hacking Templates =====
Line 40: Line 40:
 Locate your source and target templates in whichever sub-folder to which you saved them. Using the example file names above, they would appear as: Locate your source and target templates in whichever sub-folder to which you saved them. Using the example file names above, they would appear as:
  
-  Orange - CE2 Horizon.lrtemplate +  Orange - CE2 Horizon.lrtemplate 
-  Orange - CE2 Pages.lrtemplate+  Orange - CE2 Pages.lrtemplate
  
 +Using your text-editor, open the source template. Search for the line which begins:
  
 +<code>
 + styleData = {
 +</code>
 +
 +Highlight and copy this line and all lines that follow it. The more changes to made to the default settings in your source template, the longer the copied code will be.
 +
 +Using your text-editor, now open the target template. Again, search fo the line which begins:
 +
 +<code>
 + styleData = {
 +</code>
 +
 +Because no changes were made to the web engine configuration when saving the target template, the styleData section of the template will be short:
 +
 +<code>
 +
 + styleData = {
 + },
 + },
 + version = 0,
 +}
 +</code>
 +
 +Highlight this entire section -- from the styleData line, to the end of the file -- and Paste in the code from the source template. SAVE your changes.
 +
 +You may now restart Lightroom. Load the target template, and you should see that any settings shared in common between the source and target web engines will now resemble the source template.
 +
 +As a final step, Ctrl-click the target template name and select "Update with Current Settings" from the menu. This will update your target template with information from the current engine, clearing out any irrelevant settings carried over from the source template.
Print/export