We're off to DotAll 2022 in Brooklyn NY (plus a little extra sightseeing time). Our support will be limited.

Available Variables#

The following are common methods you will want to call in your front end templates:

craft.superTable.blocks()#

See Super Table Block Queries

craft.superTable.getRelatedElements()#

Expands the default relationship behaviour to include Super Table fields so that the user can filter by those too.

{% set reverseRelatedElements = craft.superTable.getRelatedElements({
  relatedTo: {
      targetElement: entry,
      field: 'superTableFieldHandle.columnHandle',
  },
  ownerSite: 'siteHandle',
  elementType: 'craft\\elements\\Entry',
  criteria: {
      id: 'not 123',
      section: 'someSection',
  }
}).all() %}

Previous ← Layouts Next Rendering Content →

Get started with Super Table

Available for Craft 4, unlimited use, free forever. Get it from the plugin store.