Design Sponsorship Search
For information about how to create or edit a part, as well as the tabs on the Edit Part screen, see Create and Edit Parts.
|
1.
|
From the Design tab, under Search Fields, drag and drop fields into the Simple Fields or Advanced Fields box. Website users enter criteria in the fields to filter search results. You can provide two levels of search — a simple search and an advanced search. For example, you can provide the advanced search so users have the option to refine their search criteria for more precise results. To change the order of fields, drag the field to its new position. |
Note: The available search fields and attributes default from the sponsorship opportunity query in Blackbaud CRM.
Note: To customize the text to appear on the web page for information such as the simple search and advanced search fields, select the Language tab.
|
2.
|
Under Search Configuration, select search criteria information for the part. |
|
a.
|
In the Opportunity query field, select the query of opportunities to include in the search results. The available queries integrate from Blackbaud CRM. If you do not select any search fields in the Available Fields List, the search results include all records in the selected query. |
If you cannot find the query but know it is exists, make sure the query type is Sponsorship Opportunity - CMS. To improve search results, we recommend you save the query properties as a dynamic selection. To do this open the query and select File, Properties. On the Options tab, select Create a Selection, Create a dynamic Selection.
|
b.
|
In the Render results as field, select “Table” to display search criteria in a default table. Select “DIV” to display search criteria in a table you customize with style sheets. |
|
c.
|
In the Display search fields in [] columns field, enter the number of columns to use to display search criteria fields. |
Both table options in the Render results as field contain the search criteria columns. When you select “Table,” the table automatically resizes when you change the number of columns. When you select “DIV” and change the number of columns, you must update your style sheet data according to the number of columns.
|
d.
|
To return search results for all available sponsorships when a user accesses the web page, select Search automatically when page loads. |
|
e.
|
In the Show navigation controls field, select whether the navigation buttons should appear above the results, below the results, or both above and below the results. |
|
3.
|
Under Search Results, specify how search results appear on the web page. |
|
a.
|
In the Results per page field, enter the maximum number of results to appear on a page. You can display up to 50 results per page. |
|
b.
|
In the Design standard for rendering results field, select “Table” to display results in a default table. Select “DIV” to display results in a table you customize with style sheets. |
|
c.
|
In the Number of columns field, enter the number of columns to use to display results. |
Both table options in the Design standard for rendering results field contain the results columns. When you select “Table,” the table automatically re-sizes when you change the number of columns. When you select “DIV” and change the number of columns, you must update your style sheet data according to the number of columns.
|
d.
|
In the Results per session field, enter the number of results a user can view during a browser session. |
Note: The number in the Results per page field should be less than the number in the Results per session field. If the number is greater, you display more results on a page than a user can view.
|
4.
|
Under the Load Default HTML button, enter the text to appear on the search results. To customize fields on the page and format the content’s appearance and layout, use the HTML editor. For information about the HTML editor, see HTML Editor. |
To use the program’s default search results display, select Load default HTML.
Note: You can include the <Sponsorship Link Begin> and <Sponsorship Link End> merge fields in your search results to link the user to the sponsorship form page. These merge fields do not appear in the final results, but they create a link for the content in between the merge fields. For example, you can enter “<Sponsorship Link Begin>Sponsor this child<Sponsorship Link End>.” On the web page, this displays “Sponsor this child” as hyperlink to the page that contains the sponsorship form part. Users click the link for more information about the sponsorship.
|
5.
|
To provide security for unsponsored opportunities, such as children, select Use a masking image to include a generic photo for the opportunity until checkout is complete. Additional fields appear. |
|
a.
|
In the query field, select the query of opportunities to apply the image to. |
If you cannot find the query but know it is exists, make sure the query type is Sponsorship Opportunity - CMS.
The image you select appears only for opportunities that exist in this query and in the query you select in the Opportunity query field. In addition, when an opportunity exists in this query but not in the previous query, it does not appear in search results. For example, in the Opportunity query field, you select the “All opportunities” query. In this query field, you select “All US children.” The masked image appears only for the US children in both queries in your search results. Other opportunities in the “All opportunities” query display the default photo for the opportunity. Other opportunities in the “All US children” query do not appear in search results.
|
b.
|
In the Choose an image to display field, click the binoculars to select a masking image for the opportunities. The Select Image from Image Library screen appears. For information about how to insert an image, see Insert Image. |
|
6.
|
Under Sponsorship Form Setup, select a page that contains a sponsorship form part. The sponsorship page includes the display that appears when a sponsor selects an opportunity from the search results, as well as payment options for the sponsorship. When users click the link created with the Sponsorship Link Begin/End merge fields, they are directed to this page automatically. For more information about the Sponsorship Form part, see Sponsorship Form. |
|
7.
|
Click Save. You return to Parts. |