Creating custom layout themes (FileMaker Pro Advanced)FileMaker Pro and FileMaker Pro Advanced use a variety of layout themes to describe the colors, patterns, fonts, and borders of text, fields, and parts in a new layout.A theme is an Extensible Markup Language (XML) document that can be read and edited in a text editor (such as Notepad for Windows or BBEdit for Mac OS X) or XML editor (such as XMLSPY or XMetaL).You can customize an existing theme or create your own, and then use the New Layout/Report assistant to apply the custom theme when you create layouts for your databases.You can modify attributes defined by the theme in Layout mode after the layout is created. However, you can’t apply a theme to an existing layout.Windows: FileMaker Pro Advanced\Extensions\English\Themes\Mac OS X: FileMaker Pro Advanced/ FileMaker Pro Advanced.app/Contents/Resources/English.lproj/Themes/Keep the new file in the Themes folder. For the New Layout/Report assistant to display a theme option, the theme file must reside in the Themes folder and it must have the .fth filename extension.Note If your THEMENAME value contains any upper-ASCII characters, use the HINT attribute to ensure that the theme name will appear on both the Windows and Mac OS X platforms. For valid values for theme attributes, see Layout theme attributes (FileMaker Pro Advanced).For example, to change the background fill color of the body part in a layout to a light purple, change the color hexadecimal (hex) value to #9933CC:For guidelines on valid values for patterns and colors, see Using values for patterns and colors (FileMaker Pro Advanced).Be sure to remove the entire single-line or multi-line element including its start and end tags. For more information, see Removing elements from theme files (FileMaker Pro Advanced).
7. Scroll down to the next FMTHEME element and repeat these steps to change the THEMENAME value and other elements.
8. Save the file in text format with the filename extension .fth in the Themes folder inside the FileMaker Pro Advanced folder.
9. In FileMaker Pro Advanced, click New Layout/Report in the status toolbar (Layout mode) to use your theme.Follow the instruction in the New Layout/Report assistant. The third panel presents you with a list of themes to select from. Names of custom themes appear as options in the New Layout/Report assistant.If your new themes don’t appear in the New Layout/Report assistant, you might have made a syntax error. For information about checking for theme file errors, see Troubleshooting custom layout themes (FileMaker Pro Advanced).
•
• A theme file can contain more than one theme. For example, the Blue_gold.fth file contains two themes: “Blue and Gold Screen” (for viewing onscreen) and “Blue and Gold Print” (for printing).FileMaker Pro and FileMaker Pro Advanced will ignore any unknown (but syntactically correct) XML elements you may choose to include. This allows your theme files to be backward and forward compatible with other versions of FileMaker Pro and FileMaker Pro Advanced.
• Publishing your database on the web in XML format, see the FileMaker Instant Web Publishing Guide, available at www.filemaker.com/documentation.
• FileMaker Pro Advanced may not be available in all of the shipping languages of FileMaker Pro.