Questions tagged [plugin-supertable]

81 questions
1
vote
1 answer

Need to run the super table fix-content-tables from CLI

We have an issue where the super-table fix-content-tables needs to be run. This fixes the issue on local and development environments. The problem is we have a very restricted production environment from the customer and need to trigger the repair…
1
vote
1 answer

How to exclude Super Table rows matching given entry

I can't quite figure out how to make this work: Say I have two sections, Actors and Movies. In my Actor section, I've got a Super Table field (myFilmography) with an Entries column to choose a single entry from the Movies section. On a given actor's…
mierla
  • 43
  • 1
  • 8
1
vote
1 answer

SuperTable queries on fields in fields

I have Event entries which contain (among other things) a SuperTable holding the schedule for that event. Each row of the SuperTable contains (among other things) a field for a Session entry, in a column called sessions. A Session entry contains…
1
vote
1 answer

Super Table -> Matrix data loss

I updated to the newest Craft Version 3.1.1. Since then I have the following problem. I lost all the data from Matrix Filed stored in a Super Table Field after changing Field Setup (Matrix - Asset props.) again. Setting: Craft CMS: 3.1.1, Super…
thomas
  • 81
  • 3
1
vote
1 answer

SuperTable Field returning null

I am performing a query from within a plugin like so: $criteria = craft()->elements->getCriteria(ElementType::Entry); $criteria->section = $journeyTitle; $response = $criteria->find(); $attributes =…
Dan Zuzevich
  • 487
  • 2
  • 18
0
votes
1 answer

Simplify templating query with Super Table

The following code will return the correct result, but since I'm quite new with Craft, I wanted to know if there was a more preferred/efficient way to filter this in the template (or maybe create a custom function). Here we go: {% set currentDay =…