Adding a custom Firefly search facility
Add a Firefly search box to a specific section of your site so that it only displays results from within that section.
- Select Embed from the toolbar.
- Copy and paste the following:
<form action="search.aspx" method="get"> <fieldset> <legend>Search this site</legend> <label for="search">Search</label> <input id="search" type="text" name="query" title="Search" /> <input type="hidden" name="sitesection" value="siteID/sectionID" /> <input type="submit" /> </fieldset> </form>
Replace siteID with the site ID and sectionID with the section ID. You can find these by browsing to a page in the section in question, adding ?view=xml to the end of the address and looking at the section_id and site_id attributes in the <page> tag on the first line.
- Select Done.