Forum Discussion
HI Doug, this is great! I have two follow up questions:
1. Can you provide the code if we wanted to limit the content to a particular board or category.
2. Also, if we want the widget to exist on its own page, how would we go about doing that?
Hi Wali -
To limit the search to a category or board you will need to modify the rest call to include that scope. For example, the call for a category page would look like this:
/categories/id/[YOUR CATEGORY HERE]/search/messages/[QUERY STRING PARAMETERS]
A board will be very similiar:
/boards/id/[YOUR BOARD HERE]/search/messages/[QUERY STRING PARAMETERS]
To put the component on a stand alone page, you will need to create a new page in studio (on the Page tab). Then add the component to that page. Keep in mind custom pages are not tied to particular category/board.
Related Content
- 4 years ago
- 9 months ago
- 13 years agoInactive User
- 3 years ago