Custom Featured content widget
You can create a custom widget that displays featured content to users.
This widget can be added to:
Your platform's main homepage: If added to your platform’s main homepage, the widget displays content specified on the Featured content admin screen in the Admin Panel:
The homepage of a specific community: If added to the homepage of a particular community, the widget displays content specified in the Featured content section of the community admin screen for that community:
Configuring the widget
To configure the custom Featured content widget in the Widget builder:
Go to the Widget builder community here.
Select the Featured content widget template.
In the Appearance section, configure the look and feel of the widget. You can control format, the size of the widget, cards within it, the colour, and the widget title.
You can configure the following appearance settings:
Select widget size: Select a preset width for your widget. You can give your widget a width of:
3 columns
4 columns
6 columns
Configure widget colour: Select the colour of the widget buttons and progress bars shown on the widget. You can select the primary colour for your instance or manually specify a colour by entering a hexadecimal value.
As you are configuring each setting, you can preview the changes using in the DESKTOP EXAMPLE PREVIEW section at the bottom of the screen:
When you’ve finished configuring the look and feel of the widget, click NEXT.
In the Configure section, you can determine what is displayed on the widget.
You can configure the following settings:Content: Here you can decide whether or not to display recommended content after the items of featured content have been viewed. To do this, select the Enable recommended content checkbox.
When you’ve finished configuring the display settings, click GET CODE.
The code is then generated based on the configuration options you’ve selected. Once you are satisfied with the styling and behaviour of the widget, click COPY CODE to copy the code to your clipboard.
Go to Design Studio in your Fuse platform and add the Custom HTML widget to a page, ensuring that it is the same dimensions chosen in the Widget builder (e.g. if your widget in the Widget builder is set to 3 columns in width, make sure the Custom HTML widget in Design Studio is also 3 columns in width)
Paste the code into the HTML widget in Design studio, deselect the Show widget borders checkbox, then save and publish the changes. The widget then appears on the specified page with the chosen styling, content and dimensions.
The featured content that is displayed depends on where you have published the widget. For example, if you publish on a homepage, the widget only displays featured content that has been specifically set in the Featured content screen in the Admin Panel, whereas if you add the widget to the homepage of a specific community, it will display the featured content set in the Featured content section of the community admin screen for that specific community.
If the widget you’ve created in the Widget builder isn’t displaying as expected, please see the following FAQ: I’ve copied the code, but the widget isn’t displaying correctly. What should I do?.