Step 5: Create search results page for your Matrix site
These commands take place in your Matrix instance.
-
Right-click on the Test site site asset.
-
Select
. -
Give the new page a name.
-
Select Create.
-
Expand the new standard page asset.
-
Right-click on the Page Content asset. Select Content.
-
Add the REST resource asset to the Page Content as a nested asset:
-
Select Edit
-
Select Edit component properties.
-
Select Nested Content from the drop-down list on the Component type field of the Properties menu.
-
-
Select Save
Edit the results page
When you test the results page, some unresolved images will appear. Edit your results page formatting to remove the images. This step is optional.
In your Funnelback instance Admin Dashboard:
-
Go to your Search Package.
-
Select the Results pages tab.
-
Select the data source.
-
On the data source details page, select Edit results page templates.
-
On the File Management page, select simple.ftl.
-
Search for the string Funnelback logo. Comment out the line
<a href="http://funnelback.com/"><img src="${GlobalResourcesPrefix}images/funnelback-horizontal-light.svg" alt="Funnelback logo" width="360"></a>
It will now look like this:
<!-- a href="http://funnelback.com/"><img src="${GlobalResourcesPrefix}images/funnelback-horizontal-light.svg" alt="Funnelback logo" width="360"></a -->
-
Search for navbar-header.
-
Comment out the whole div section:
<!-- div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#"><img src="${GlobalResourcesPrefix}images/funnelback-horizontal-light.svg" alt="Funnelback" height="24"></a> </div -->
-
Select Save & Publish.
-
Test the results page to make sure the images have been removed.