beautypg.com

Using the xslt stylesheet editor, Using the page layout helper – Google Search Appliance Creating the Search Experience User Manual

Page 74

background image

Google Search Appliance: Creating the Search Experience

Best Practices

74

If you want to use a customized XSLT stylesheet from an earlier release, refer to the update instructions
for the current search appliance software release.

Using the Page Layout Helper

To show the My Alerts link using the Page Layout Helper:

1.

Choose Serving > Front Ends.

The Front Ends page appears.

2.

Select a front end from the Current Front Ends list and click Edit.

The Output Format page appears.

3.

In the Page Layout Helper box, select the Global Attributes section.

The section expands.

4.

To show the My Alerts link, select Show Alerts Link.

To hide the My Alerts link, deselect Show Alerts Link.

5.

Click Save Page Layout Code.

Using the XSLT Stylesheet Editor

This section describes showing the My Alerts link using the XSLT Stylesheet Editor. If you prefer, you
can edit the XSLT stylesheet in another editor.

To show the My Alerts link in an XSLT stylesheet:

1.

Choose Serving > Front Ends.

The Front Ends page appears.

2.

Select a front end from the Current Front Ends list and click Edit.

The Output Format page appears.

3.

In the XSLT Stylesheet Editor, scroll to the alerts2 options in the Other Variables section. The
following code shows the alerts2 options.


0

4.

Show or hide the My Alerts link:

To show the link, change the show_alerts2 value from 0 (zero) to 1 (one).

To hide the link, change theshow_alerts2 value from 1 (one) to 0 (zero).

5.

Click Save XSLT Code.