Serving > Front Ends > Output Format
Use the Serving > Front Ends > Output Format tab to perform the following tasks:
Before Starting these Tasks
If you have multiple front ends for your search appliance, identify the front end where you want to change the appearance or language of pages. If you only use the default_frontend, determine if you want to change the appearance of pages or languages in it. If you only want to change the appearance of pages or languages for a specific group of end users, you must create a front end for this group of end users.
Changing the Appearance of User Interface Pages
There are two different tools that you can use to change the appearance of user interface pages in a front end:
- Page Layout Helper--Enables you to make changes easily to global attributes (logo, fonts,
header, and footer), and to the look of the Search Box and Search Results.
- XSLT Stylesheet Editor--Enables you to make more extensive changes to the XSLT stylesheet. If the elements that you want to change are not available in the Page Layout Helper, you must use the XSLT Stylesheet Editor to change them.
The Stylesheet contains sections for various components, preceded by
comments so that you know whether a section can be customized. The search appliance supports UTF-8 encoding without the byte order mark (BOM) for XSLT.
To use the Page Layout Helper or the XSLT Stylesheet Editor:
- Click Serving > Front Ends.
- Click the Edit link next to the collection front end you want to edit.
The Output Format Tab appears.
From this Tab, you can use either the Page Layout Helper or the XSLT Stylesheet Editor.
Changing the Language of the User Interface
You can have your users' search page and search results pages in a language
other than English, the default. You also can have several languages active
for your users and the search appliance will present search results for an
active language based on the settings detected in the end user's browser.
To make a language active using Page Layout Helper:
- Choose the language to activate in the Language drop-down menu.
- Click Save Page Layout Code.
In the Language drop-down
menu, the language you activated has the word "Active" next to it.
To make an active language the default:
- Choose an active language in the Language drop-down menu.
- Click Make this Language the Default.
To make a language active using the XSLT Stylesheet Editor:
- Choose the language to activate in the Language drop-down menu.
- Click the Edit underlying XSLT code link.
The text in the default
stylesheet converts to that language.
- In the XSLT Stylesheet Editor, make any format changes you like.
If you are only making a language active, no changes are necessary. - Click Save XSLT Code to save as an active stylesheet.
To make languages active for a set of custom stylesheets using the XSLT Stylesheet Editor:
- Customize the default language's stylesheet as desired using the Page Layout Helper or the XSLT Stylesheet Editor.
- For each additional language, choose the language in the Language drop-down menu.
- Click the Edit underlying XSLT code link.
The text in the default
stylesheet converts to that language.
- Perform any language-specific customizations in the XSLT Stylesheet Editor.
If you are only making a language active, no changes are necessary.
- Click Save XSLT Code to save as an active stylesheet.
To remove an active language and disable the stylesheet for that language:
- Choose the language in the Language drop-down menu.
- Click Remove this Language.
The stylesheet is no longer available in that language.
For More Information
For detailed information about changing the appearance of pages or languages in the user interface, see "Creating the Search Experience: Customizing the User Interface," which is linked to the Google Search Appliance help center.
|