Help Center
Home
Crawl and Index
Serving
Front Ends
Output Format
KeyMatch
Related Queries
Filters
Remove URLs
OneBox Modules
Query Settings
OneBox Modules
Document Preview Module
Result Biasing
Dynamic Navigation
Suggestions
Access Control
Head Requestor Deny Rules
Policy ACLs
Universal Login
Universal Login Auth Mechanisms
Cookie
HTTP
Client Certificate
Kerberos
SAML
Connectors
LDAP
Universal Login Form Customization
Flexible Authorization
Alerts
Language Bundles
Status and Reports
Connector Administration
Social Connect
Cloud Connect
GSA Unification
GSAn
Administration
More Information
|
![]() |
![]() |
Serving > Front Ends > Output Format - Page Layout Helper
Use the Page Layout Helper to perform the following tasks using the appropriate section:
You can have one section open, two, or all three
at the same time. Click the right arrow in front of the section you want
to open. When you click the Save Page Layout Code
button, the changes you made in any open section are saved to the Stylesheet. All changes are optional.
The Preview button opens a browser window to let you see
the actual look of each page with each change as you make it, but the
changes are not saved until you click the Save Page Layout Code button. A new window
opens each time you click Preview. You can close
these windows as you finish looking at them. If click-jacking defense has been enabled on Internet Explorer or Google Chrome Browser, previews are not available. Click-jacking defense is enabled on the Serving > Query Settings page.
To return the Stylesheet to
the state before it was edited, click the Restore Default button.
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.
If you do not have an account with Google Analytics and you want to capture information about page visits, go to http://www.google.com/analytics/ to create a new account.
Before you can select Show Alerts Link for a front end, ensure that you have:
- Configured LDAP using the Administration > LDAP Setup page
- Enabled alerts for the search appliance using the Serving > Alerts page
Changing Global Attributes
In the Global Attributes section, you can quickly
put your organization's logo on pages, specify the fonts to use, and add the HTML
header and the HTML footer code used on your web site. The following table describes each option in the Global Attributes section.
Option |
Description |
Logo |
Enter the location and name of the logo that you want to use.
You may have to type the complete URL of the logo file. |
Font Face |
Enter the name of the font family that you want to use, for example, Times Roman serif.
The font face is case insensitive. If you enter a font that is not recognized, the page uses the Times font face. |
Header |
Paste the header code that you want to use. |
Footer |
Paste the footer code that you want to use. |
Enable ASR |
Disable or enable advanced search reporting by clicking the Enable ASR checkbox. For more information, see Advanced Search Reporting. |
Analytics Account |
Enter a Google Analytics account number. For more information, see Google Analytics Reporting. |
Show Alerts Link |
Click the check box to enable or disable alerts. For more information, see Alerts. |
To change Global attributes:
- Log in to the Admin Console and choose Serving > Front Ends.
- Select a front end from the Current Front Ends list and click Edit.
- Under Page Layout Helper on the Output Format page, click the arrow next to Global Attributes.
- Make changes to the Global attributes as described in the preceding table.
- Click Preview.
A browser window opens to show your change. Close the
browser window.
- When finished, click Save Page Layout Code.
Advanced Search Reporting
When Enable ASR is selected, the Google Search Appliance generates reports for analyzing log clicks and other user interactions on the search results page for a front end. You can use these reports to:
- Analyze what users are clicking
- Improve search quality
- Improve the user's search experience
If you are using a customized an XSLT stylesheet, refer to Creating the Search Experience: Best Practices on the Google Search Appliance help center for information about using advanced search reporting.
To export an advanced search report, use the Status and Reports > Search Logs page in the Admin Console.
Integrating with Google Analytics Reporting
When you enable Google Analytics reporting in your search appliance, the search
appliance automatically adds the Analytics code block to the Front End.
If you do not have an account with Analytics, go to http://www.google.com/analytics/ to create a new account.
To enable Google Google Analytics reporting in a front end, enter your Analytics account number in the Analytics Account text box in the Global Attributes section of the Page Layout Helper.
To track another Front End, click Front Ends under the main menu on the left, and then select the Edit link
adjacent to the Front End you want to integrate with Analytics. Enter your
Analytics account number in the Page Layout Helper.
Showing the My Alerts Link
When you select Show Alerts Link for a front end, a My Alerts link appears on the search page. By clicking My Alerts, users can set up and manage email alerts for topics that interest them.
If alerts are disabled using the Serving > Alerts page, a My Alerts link does not appear on the search page, even if Show Alerts Link is selected for a front end.
Changing the Appearance and Behavior of the Search Box
In the Search Box section, you can make
changes to the Search text box and button, to the language and encoding,
select which collections are available to your users to
search, and enable auto-completion. The following table describes each option in the Search Box section.
Option |
Description |
Search box length |
To lengthen or shorten the search box from 32 characters, type another number. |
Search button |
To replace the phrase Google Search on the button, type another word or phrase in the Use text box. To use
another image to replace the gray rectangular button, click the Use Image option and enter the complete
URL to the image. |
Collections |
To display a menu of your collections so that your users can select which one to search, click the Collections checkbox. |
Secure search |
Click the checkbox to disable the display of the Secure search option.
If you purchased the secure search package, the Secure Search option is enabled, letting your users choose to search over public documents or both public and secure documents. |
Query suggestions |
To enable auto-completion and query suggestions to appear as the user types in the search box, click the Query suggestions check box. Query suggestions include user-added results, which are displayed in italic font style.
|
To change Search Box attributes:
- Log in to the Admin Console and choose Serving > Front Ends.
- Select a front end from the Current Front Ends list and click Edit.
- Under Page Layout Helper on the Output Format page, click the arrow next to Search Box.
- Make changes to the search box as described in the preceding table.
- Click Preview.
A browser window opens to show your change. Close the
browser window.
- When finished, click Save Page Layout Code.
Changing the Appearance of Search Results
In the Search Results section, you can make changes to the top and bottom of the results page, the content of results, and various page elements such as links and dividers.
As you select check boxes in each Search Results
area, the sample page on the right shows your changes dynamically (for
some browsers). Other browsers display a Quick Preview
button. The following table describes each option in the Search Box section.
Option |
Description |
Page Top Elements |
Click the check boxes to show or hide the Logo, Advanced Search link, Search Tips link, or search box (top).
By default, all these elements appear at the top of the search results page. |
Search Information and Page Divider |
Click the Search information check box to show or hide search information.
Click a radio button to choose Blue bar, Gray line, or No divider.
By default, the page divider is a blue bar that includes search information. |
Page Top Navigation Links |
Click the check boxes to show or hide the Previous/Next link or the Sort by Date/Sort by Relevance link.
By default, the search results page includes both of these navigation links. |
Dynamic Result Clusters |
Click the check box to show or hide Dynamic result clusters.
Click a radio button to display dynamic result clusters at the Side or Top of search results.
By default, the search results page does not display dynamic result clusters. You can display dynamic result clusters side view or sidebar elements, but not both. |
Dynamic Navigation |
Click the check box to show or hide Dynamic Navigation options with the search results. You can display dynamic navigation or sidebar elements, but not both. |
Document Previews |
Click the check box to show or hide Document Previews with the search results. To show document previews, you must first enable the document preview module by using the Serving > Document Preview Module page. When you show document previews, a magnifying glass icon appears next to search results of documents in the following formats: doc, docx, ppt, and pdf. To view the preview, the user hovers the mouse over the icon and an image of the document appears. The user can also page through and enlarge a document preview. |
Sidebar Elements |
Click check boxes to show or hide search results from People Search, Google Apps or Google Site Search. To show results from People Search, you must configure it by using the Social Connect > Expert Search page. To show results from Google Apps, you must enable indexing public content or integrating personal content by using the Cloud Connect > Google Apps page. To show results from Google Site Search, you must provide a search engine identifier. You cannot display sidebar elements along with dynamic navigation or dynamic result clusters side view. Note: Google will not be supporting Twitter integration after the retirement of Twitter's v1 REST API on June 11, 2013. |
Translation |
Click the Enable Translation checkbox to tranlsate titles and snippets in search results and the cached documents to the user's language, determined by the default language set in the user's browser. |
Result Listing Elements |
To change the search results title length, enter the Title Length in bytes. By default this value is set to 70 bytes. Click check boxes to show or hide the result Snippet, URL, Page size, Modified date, or Cache link.
By default, the search results page includes all of these elements.
|
Page Bottom Elements |
Click a radio button to choose a style of Previous/Next page navigation links.
Click the check box to show or hide the Search box (bottom).
By default, the search results page includes Google-style navigation links and a search box. |
To change Search Results attributes:
- Log in to the Admin Console and choose Serving > Front Ends.
- Select a front end from the Current Front Ends list and click Edit.
- Under Page Layout Helper on the Output Format page, click the arrow next to Search Results.
- Make changes to the search box as described in the preceding table.
- Review the changes in the dynamic window (or
by clicking Quick Preview, depending on
your browser.)
- When finished, click Save Page Layout Code.
Related Tasks
After you finish making and saving changes in
the Page Layout Helper, you can, if you wish, make further changes in
the XSLT Stylesheet Editor. You must make all Page Layout changes in the boxes provided before
editing the Stylesheet directly. These changes are saved in the
Stylesheet when you click Save Page Layout Code.
You cannot go back to the Page Layout Helper after you manually edit
the Stylesheet, unless you start over completely by clicking the
Restore Default button.
If you want to do more editing, you can do so in
the XSLT Stylesheet Editor.
For More Information
For detailed information about using the Page Layout Helper, see "Creating the Search Experience: Customizing the User Interface," which is linked to the Google Search Appliance help center.
|