Skip to content

Community Tile Widget

The Community Tile widget displays community content in a tile format. It can be used as a standalone element and supports filtering by product and/or category.

Usage

The Community Tile widget can be integrated into your application by including the corresponding HTML div element. You can filter the displayed content by product ID, category ID, or both.

Examples

Community Tile with Product and Category Filter

html
<div class="gmf-community-tile" data-product-id="PRODUCT-ID" data-category-id="CATHEGORY-ID"></div>

This displays community content filtered by both a specific product and category.

Community Tile with Category Filter Only

html
<div class="gmf-community-tile" data-category-id="CATHEGORY-ID"></div>

This displays community content filtered by a specific category only.

Community Tile with Product Filter Only

html
<div class="gmf-community-tile" data-product-id="PRODUCT-ID"></div>

This displays community content filtered by a specific product only.

Community Tile without Filters

html
<div class="gmf-community-tile"></div>

This displays all available community content without any filters.

Attributes

  • data-product-id: Optional. Filters the community content to show only items related to the specified product ID.
  • data-category-id: Optional. Filters the community content to show only items related to the specified category ID.